summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorarangelov <arangelov@google.com>2020-01-16 10:58:27 +0000
committerAntoan Angelov <arangelov@google.com>2020-01-30 13:48:29 +0000
commit7981b1236d47ad87e7aee7848cfce1a002298829 (patch)
tree77e5d86877acb39b1d72f18dfffff0778808906e /tools/aapt2/java/JavaClassGenerator.cpp
parentbdb4005601e57e375e2de13068ad784259efdd1e (diff)
Fix autolaunching.
We autolaunch in the following cases: 1. There is only a personal profile, and it has 1 launchable target 2. There are a personal and work profiles, they have 1 launchable target each, which is the same app. If the app has declared support for cross-profile interaction, we auto launch that app on the current profile. Test: manually tested combinations of test cases with 0/1/2 resolved apps on personal, 0/1/2 resolved apps on work, with enabled/disabled cross-profile intents for both directions (work-personal and personal-work) Bug: 142537267 Bug: 142538125 Bug: 148536212 Test: atest com.android.internal.app.ChooserActivityTest Test: atest com.android.internal.app.ResolverActivityTest Change-Id: I0677bca4dd0ce0412c1c5d386157b94fd87b6706
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions