commit | 3901c1be65a97ecc54ef9ac0ac8c16c25adcaafc | [log] [tgz] |
---|---|---|
author | Kweku Adams <kwekua@google.com> | Thu May 06 15:21:05 2021 -0700 |
committer | Kweku Adams <kwekua@google.com> | Thu May 06 15:21:05 2021 -0700 |
tree | 3799390f224b26002295026393f615cf3cd2b872 | |
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