summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Varun Shah <varunshah@google.com> 2022-12-02 15:17:14 -0800
committer Varun Shah <varunshah@google.com> 2022-12-09 18:45:50 +0000
commitb5e796bb7446f2e7130200bb2896b3558dcf5df5 (patch)
tree563c2f74012d9e72c8a2f53d6a3c1f535ee1d4fe /libs/androidfw/ApkParsing.cpp
parent37e943894d3e434543aa8fcfcf7df3154aa3c3d5 (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 (cherry picked from commit 4225f1ebf73cd0884384bf9c64f48aedc18f762e)
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions