Skip to content
Commit c8fc993b authored by Jaewan Kim's avatar Jaewan Kim
Browse files

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.

Bug: 162548695
Test: Build and run CTS
Change-Id: I83909b4a6c82af805a26848fe4a0189c579ddf0d
parent 7f2044ea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment