commit | ece1fa0ba1dfa3d6ded43e74639ee04ef814a4c2 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Wed Nov 06 17:52:04 2019 -0800 |
committer | Varun Shah <varunshah@google.com> | Wed Nov 20 14:41:04 2019 -0800 |
tree | 12d94d7b1f96f0e5536b50129cb5028561ff617d | |
parent | fd74d7645a389978b598bda2c3242b09bed00b6f [diff] |
Add a job to prune UsageStats data on package removals. Add a job to prune any usage stats data that exists on disk belonging to uninstalled packages. This job will be scheduled every time there is a package removal, appending to the work of any previous pending jobs. Jobs for each user will be executed when the device is idle. Bug: 143889121 Test: atest UsageStatsDatabaseTest#testPackageDataIsRemoved Change-Id: Iee00917a940930271ca40367ca24992cde018616