commit | fb818c519df183efecb023a14fc2654da04fad32 | [log] [tgz] |
---|---|---|
author | Thomas Vannet <tvannet@google.com> | Mon Mar 21 07:57:30 2022 -0700 |
committer | Thomas Vannet <tvannet@google.com> | Mon Mar 21 07:57:30 2022 -0700 |
tree | c2cce56b3c92fa06d317635cd7634acdc3e8d172 | |
parent | 017ebacdafa213c5dcce7b0f2650f433c382bbb4 [diff] |
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