summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Chun-Ku Lin <chunkulin@google.com> 2024-10-01 19:40:59 +0000
committer Chun-Ku Lin <chunkulin@google.com> 2024-10-01 21:25:09 +0000
commitfd4e20ecd921a82ad02259e998779cb062474b26 (patch)
tree17f0d17e5fb685cf7824c2542a93025bc8bdc427 /libs/androidfw/StringPool.cpp
parente8ce4cad2ebf148c3a8b22979e9893cdceedf12f (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions