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
Loading
Please register or sign in to comment