Grant permission before testing revoke permission
Invoking revokeRuntimePermission w/o grant permission doesn't trigger permission change event. The test was passing due to permission change event generated by package install. Adding waitForBroadcasts to prevent package install permission change event interfere with the test. Fix: 311722847 Test: abtd Test: atest PermissionUpdateListenerTest --iterations 10 Change-Id: I968407341b253e6e9583ec511fbfc76d5b4da34c
Loading
Please register or sign in to comment