diff options
author | Kweku Adams <kwekua@google.com> | 2021-05-06 15:21:05 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2021-05-06 15:21:05 -0700 |
commit | 3901c1be65a97ecc54ef9ac0ac8c16c25adcaafc (patch) | |
tree | 3799390f224b26002295026393f615cf3cd2b872 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 0214d012f6f0c06e6297d676fc02620c059dd12a (diff) |
Put bad apps in the RESTRICTED bucket.
Put an app in the RESTRICTED bucket if it's crashed enough to be marked
bad.
Bug: 183103253
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 usage' to ensure lastRestrictAttempt and
lastRestrictReason are both set for the app
Change-Id: Ie8c36075573efcb4f63bf6f8d836f2edb3bb27cd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions