commit | f25e24bf904e4146288412241bd813e779753266 | [log] [tgz] |
---|---|---|
author | mincheli <mincheli@google.com> | Thu Mar 12 15:29:10 2020 +0800 |
committer | Minche Li <mincheli@google.com> | Mon Mar 16 10:02:28 2020 +0000 |
tree | 7ff85e66ea82a750134f327bf13f4158cca4a650 | |
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