summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorarangelov <arangelov@google.com>2020-04-07 17:10:36 +0100
committerarangelov <arangelov@google.com>2020-04-09 15:46:33 +0100
commitc75813909526b02c866afbbdf005859e97b3ee59 (patch)
tree89babaf10d13a5eae4ed5e7bbeefadcbd2ecb37c /tools/aapt2/java/JavaClassGenerator.cpp
parent7eb72faa06c52bf952267a6c2da9e619d2e9392c (diff)
Start sharesheet in the same profile instead of switching to other profile.
Instead of starting the sharesheet in the other profile when choosing the "Switch to work"/"Switch to personal" button, we now start the sharesheet in the same profile with the other tab selected. For example, we're in the personal profile and share something via an app that uses its own sharing logic. That shows the "Switch to work" button and when we press it, we now start the sharesheet in the personal profile with the work tab selected. The reason for this is to avoid user confusion when they go back to the personal tab and it shows an empty state screen due to lack of cross-profile intents. Fixes: 152866292 Test: manual Test: atest ChooserActivityTest Test: atest ResolverActivityTest Test: atest IntentForwarderActivityTest#launchInSameProfile_chooserIntent Change-Id: Ic117c9c51c663b6574e7692022bac82f7c899ec2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions