diff options
author | Winson <chiuwinson@google.com> | 2019-05-07 16:29:59 -0700 |
---|---|---|
committer | Winson Chiu <chiuwinson@google.com> | 2019-06-03 21:41:28 +0000 |
commit | 470b15bedaa3c0869748e4fdef0e291184e5e5ce (patch) | |
tree | c207bfb29f8aec9fe8db8a8f8ff34ca80b2573aa /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 106f28ab68b9663c6503fb93fe83335e448b71f6 (diff) |
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
(cherry picked from commit 4e3b435c0ee794790131f24dc8cd76cd9102510c)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions