summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Ben Murdoch <benm@google.com> 2024-07-16 15:43:25 +0000
committer Ben Murdoch <benm@google.com> 2024-07-22 13:39:45 +0000
commit68eed4185fe061e50a8d1842f0a6c722af9cfcc7 (patch)
tree94c58df0790e9c1269036dd66901d308c14f8078 /libs/androidfw/StringPool.cpp
parent187ee73b96e8cf0d2403de4636480815d5bb900d (diff)
Make ModifierShortcutManager multiuser aware.
Instead of using the cached system user context, we now keep track of the current foreground user (maintained by PhoneWindowManager) and use that user to resolve Roles and PackageManager queries. This means that we will resolve the correct application launch intents for the appropriate user. This is especially important in HSUM builds, where the system user is never the foreground user and so roles would never resolve correctly. Flag: com.android.server.flags.modifier_shortcut_manager_multiuser Bug: 351963350 Test: atest ModifierShortcutManagerTests ModifierShortcutTests Change-Id: I98d70ebd1f067d27df52275bf82517fab1473ec8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions