summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJaewan Kim <jaewan@google.com>2020-08-20 16:58:32 +0900
committerJaewan Kim <jaewan@google.com>2020-08-20 17:06:59 +0900
commit170c118b8105c9bb55d801e2eb4e6c12a89ac80c (patch)
tree8ab45a086c819b50eefb113362230a08b2272d71 /tools/aapt2/java/JavaClassGenerator.cpp
parent72f4bd64407d7c3f7102b6918f51d85008812575 (diff)
DO NOT MERGE: Fix incorrect use of UserHandle#getUserHandleForUid(int uid)
Two issues were mixed here. issue 1) User ID was used when UID was necessary. issue 2) Caller UID was used when checking target UID. Note that this bug would affect multi-user environment. (Cherry-picked from c8fc993b4260fbd10bfa9e3d12c4616ac0d5c6c9) Bug: 162548695 Test: Build and run CTS Change-Id: I83909b4a6c82af805a26848fe4a0189c579ddf0d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions