summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
author bkchoi <bkchoi@google.com> 2023-12-11 22:46:41 +0000
committer BK Choi <bkchoi@google.com> 2023-12-21 05:23:15 +0000
commit09f86191d6968ddc8c1f4a150bfee0f423b2f9d6 (patch)
tree76448ab5eeb06cb8c43736a40497965ca421699c /opengl/java
parent6557342b260cac753fa2c06b45ca535803220291 (diff)
Check the calling user instead of the current user.
In concurrent multi-user case, the calling user may be different from the current user, thus we cannot assume that it is always the current user to check if the calling user is an admin user. Instead, we use the calling user id from the binder, before the caller identity is cleared. Bug: 315382159 Test: atest android.bugreport.cts.BugreportManagerTest Change-Id: I003037d37b72c47dc4be7c85f634116f9bc4ca63
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions