Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 75df622b authored by Varun Shah's avatar Varun Shah
Browse files

Introduce a process crash count tolerence limit.

To prevent processes from consistently crashing over a large period of
time, introduce a new 12 crashes per 12 hours limit per process. This is
in addition to the MIN_CRASH_INTERVAL logic already in place to add apps
to a bad-apps list.

Bug: 159840270
Test: manual (consistently crash an app via 'adb shell am crash <pkg>'
in intervals larger than MIN_CRASH_INTERVAL until the limit is reached
and check 'dumpsys activity processes' to ensure the app is marked as
a bad app)
Test: dumpsys activity settings

Change-Id: Ic53dab2d0cee8512c9dde60ec73fb4b0558e7148
parent 55b5346c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment