Skip to content
Commit 3901c1be authored by Kweku Adams's avatar Kweku Adams
Browse files

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
parent 0214d012
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment