Catch exception when stopping OTP session twice
An uncaught IllegalArgumentException thrown in ActivityManager.removeOnUidImportanceListener would result in a one-time permission session for a background group sometimes not getting cleaned up properly, leading to background permissions not geting revoked. Test: run cts -m CtsPermissionTestCases -t android.permission.cts.RevokeSelfPermissionTest Bug: 225386829 Change-Id: Iad7f181866b407d556672457ade1f3312d10a95d
Loading
Please register or sign in to comment