summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorarangelov <arangelov@google.com>2020-04-01 13:26:51 +0100
committerarangelov <arangelov@google.com>2020-04-06 18:22:33 +0100
commitce7d4a623c8747a3b3bcaffab1595b2068d6be22 (patch)
treec37df1048ba5e6f278d981db154187855e730ef6 /tools/aapt2/java/JavaClassGenerator.cpp
parente9ffff37d486c5be528b3e0e010dd9c24c7acd28 (diff)
Show sharesheet with 1 personal app and >0 work apps with WP off
Previously we would autolaunch in this case, as getResolversForIntentAsUserInternal didn't return any apps for the work profile when it's off. This change adds the MATCH_DIRECT_BOOT_AWARE and MATCH_DIRECT_BOOT_UNAWARE flags to the PackageManager#queryIntentActivitiesAsUser call. Test: manual Test: atest ResolverActivityTest Test: atest ChooserActivityTest Fixes: 153338971 Change-Id: Iedf10d54953b94393c78d6357ce7e5216f3ba261
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions