Fix work profile shortcut launch
Shortcuts let the launcher start activities on work profile, so we can't apply the usual cross-user startActivity check. LauncherApps already checks the calling user and the target user relationship, so let's just skip the handleIncomingUser check. Bug: 72659387 Test: atest CtsShortcutManagerTestCases Test: atest ${ANDROID_BUILD_TOP}/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/ShortcutManagerMultiuserTest.java Change-Id: I3b6179af0c9d5e54ed8fd57c9c830f7a6ecec9da
Loading
Please register or sign in to comment