Files
frameworks_base/core/java/android
Makoto Onuki 7041c4b96b 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
2018-02-12 15:48:02 -08:00
..
2018-02-12 15:48:02 -08:00
2018-02-12 22:09:53 +00:00
2018-02-12 22:09:53 +00:00