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
Loading
Please register or sign in to comment