summaryrefslogtreecommitdiff
path: root/opengl/java/android
diff options
context:
space:
mode:
author Hai Zhang <zhanghai@google.com> 2024-01-22 20:19:58 +0000
committer Hai Zhang <zhanghai@google.com> 2024-01-22 20:20:53 +0000
commitc31dd7f5ba1ca7e351f47ce4bb53fc2a9f333fc7 (patch)
tree48aa8a84f607de6a204899c2a5c9102c0e50fea2 /opengl/java/android
parent6d93e4f3e52dbaafac822e34047d26b474dd38d2 (diff)
Don't throw exception when changing unrequested permission state.
And just log it instead. Because such an API call is always racy with package changes, especially when someone is doing things in response to changes (e.g. the role subsystem). We have to either catch all security exceptions at the call site, or throw less exceptions while keeping the more important ones. So not throwing in this case is arguably the better option. Fixes: 321559226 Test: presubmit Change-Id: I0835ad01af2a41b711b66b8a0d84a10c1305c401
Diffstat (limited to 'opengl/java/android')
0 files changed, 0 insertions, 0 deletions