commit | 1f61c42a2011fc5245b566b74a505bfda8b90b3b | [log] [tgz] |
---|---|---|
author | Jaewan Kim <jaewan@google.com> | Wed Aug 19 14:00:38 2020 +0900 |
committer | Jaewan Kim <jaewan@google.com> | Wed Aug 19 13:06:34 2020 +0000 |
tree | a0020bf1333a23f1d426745c36d5efb1ec2830b7 | |
parent | 392f3e600bf06fc9b5b51b909d92f1591ad9a6b1 [diff] |
DO NOT MERGE: Fix incorrect use of UserHandle#getUserHandleForUid(int uid) Two issues are 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 33240ae97c9f65a1e1d2526f1447e9f5a18dee98) Bug: 162548695 Test: Build and run CTS Change-Id: I19287ed11d8f9fdd1b966ec2c671f5b0913064ed