commit | 33240ae97c9f65a1e1d2526f1447e9f5a18dee98 | [log] [tgz] |
---|---|---|
author | Jaewan Kim <jaewan@google.com> | Fri Aug 07 13:38:20 2020 +0900 |
committer | Jaewan Kim <jaewan@google.com> | Tue Aug 11 14:40:08 2020 +0900 |
tree | 58900ac775ba6e55994a9b244cb28b26497639a1 | |
parent | f0106cfce6298b40f8fdba98cc48a827dafdf9de [diff] |
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. Bug: 162548695 Test: Build and run CTS Change-Id: I19287ed11d8f9fdd1b966ec2c671f5b0913064ed