diff options
author | Makoto Onuki <omakoto@google.com> | 2018-02-06 13:36:34 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2018-02-12 15:48:02 -0800 |
commit | 7041c4b96b1034e1b14f717dcb05a739ac69e543 (patch) | |
tree | ecf4343ddbb177aee5907f4b86c779d972d9d1ae /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 34ace45e39322cace12d5cac54966a9499c0737a (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions