diff options
author | mincheli <mincheli@google.com> | 2020-03-12 15:29:10 +0800 |
---|---|---|
committer | Minche Li <mincheli@google.com> | 2020-03-16 10:02:28 +0000 |
commit | f25e24bf904e4146288412241bd813e779753266 (patch) | |
tree | 7ff85e66ea82a750134f327bf13f4158cca4a650 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f489f1994fb5fa9594e86dedc172b6501cd72982 (diff) |
Fix CTS UiAutomationTest#testAdoptSomeShellPermissions
The test case is failed because package info chache is not
updated when when ShellDelegate updates permission by calling
setPermission(). To fix it, we just invalidate package info
chache when calling setPermission().
Bug: 150755325
Bug: 150265749
Test: atest android.app.uiautomation.cts.UiAutomationTest#testAdoptSomeShellPermissions
Change-Id: Iaa7a7acd6e506a37c80570d174a1ee2e2760aebe
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions