diff options
| author | 2022-03-21 07:57:30 -0700 | |
|---|---|---|
| committer | 2022-03-21 07:57:30 -0700 | |
| commit | fb818c519df183efecb023a14fc2654da04fad32 (patch) | |
| tree | c2cce56b3c92fa06d317635cd7634acdc3e8d172 /libs/androidfw/AttributeResolution.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions