diff options
author | lumark <lumark@google.com> | 2018-05-03 14:38:57 +0800 |
---|---|---|
committer | lumark <lumark@google.com> | 2018-05-07 12:13:50 +0800 |
commit | 3b9e4bda4da709068e45c4dbe6cb21e29d07270e (patch) | |
tree | 0cd148fd482862d735190e4c17d2cfc438249a3d /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6ec9142dc4458fe4f31f28de8544dc56986f5b43 (diff) |
Add CLEAR_APP_CACHE check for deletePreloadsFileCache.
StorageManager is priv-app & need add CLEAR_APP_CACHE permission to
access deletePreloadsFileCache.
Bug: 36595933
Test: adb shell service call package <api> to verify non-priv-app, fail.
Test: adb shell service call package <api> to verify priv-app with CLEAR_APP_CACHE, success.
Change-Id: Ie9f13285a725d9bf4b552617ee13c1eb142a3609
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions