Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit fd4e20ec authored by Chun-Ku Lin's avatar Chun-Ku Lin
Browse files

Use UserHandle.isSameApp to determine if the uids are the same app

If we directly use uids to determine if they're the same app, it would
fail, due to the first digits of the uid is the userId, which is not
always 0.

Bug: 327711184
Test: Use device as a second user, open Settings > Accessibility. Use
adb to install an Accessibility app. Verify the newly installed
Accessibility app appears on the screen without leaving and coming back
to the screen.
Test: atest PackageMonitorCallbackHelperTest
Flag: EXEMPT low risk bugfix

Change-Id: Idf7043924f1c4228f7b3bf1e0d7c9cdfa9d3bdc7
parent e8ce4cad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment