diff options
| author | 2022-12-02 15:17:14 -0800 | |
|---|---|---|
| committer | 2022-12-09 07:36:01 -0800 | |
| commit | 4225f1ebf73cd0884384bf9c64f48aedc18f762e (patch) | |
| tree | 3b1a23e39f7d1eb388fa743e4597397e7c002948 /libs/androidfw/ApkParsing.cpp | |
| parent | d5b9c7ddf526bf7a369bc85a82e9c203dc409046 (diff) | |
Update logic for adjusting standby buckets for restored apps.
Instead of skipping over not yet installed apps, add them to a list and
update the PackageReceiver to handle freshly installed apps separately.
When an app is installed within the first 8 hours after a device is
restored, if the app is on the list, adjust its standby bucket to rare.
Bug: 214580000
Test: atest UsageStatsDatabaseTest
Test: manually verify buckets are restored
Change-Id: I79a0bb08fd383420aa72266e1d80c89e666bb981
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions