commit | 4e3b435c0ee794790131f24dc8cd76cd9102510c | [log] [tgz] |
---|---|---|
author | Winson <[email protected]> | Tue May 07 16:29:59 2019 -0700 |
committer | Winson Chiu <[email protected]> | Fri May 10 19:24:02 2019 +0000 |
tree | 6ec2371bb75a8f5053d372bf494bc47e8a6b301c | |
parent | 8197beee185717aa29d96448cd1f29f4dc76e3b6 [diff] |
DO NOT MERGE: Delete persisted historical app ops on package uninstall They're removed from the current state, but not the persisted state. This adds HistoricalRegistry#clearHistoryForPackage which reads the disk state, strips the corresponding UID/package, and re-writes to disk. Bug: 129796626 Test: manual test app with location access Test: atest AppOpsServiceTest#testPackageRemovedHistoricalOps Change-Id: I8daa2e3474b400a3789b2eaf178441c6d1578af1