diff options
author | Varun Shah <varunshah@google.com> | 2020-11-04 10:28:21 -0800 |
---|---|---|
committer | Varun Shah <varunshah@google.com> | 2020-11-06 11:18:44 -0800 |
commit | 75df622bb34cb6c76658b4a22d8b7b99f6528160 (patch) | |
tree | 18d1f4b7b28962d476fef15e003105f761a52553 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 55b5346c92577c63db00c3fe1c3d8846a5829f96 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions