diff options
author | arangelov <arangelov@google.com> | 2020-04-01 13:26:51 +0100 |
---|---|---|
committer | arangelov <arangelov@google.com> | 2020-04-06 18:22:33 +0100 |
commit | ce7d4a623c8747a3b3bcaffab1595b2068d6be22 (patch) | |
tree | c37df1048ba5e6f278d981db154187855e730ef6 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | e9ffff37d486c5be528b3e0e010dd9c24c7acd28 (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 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions