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
Loading
Please register or sign in to comment