Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7981b123 authored by arangelov's avatar arangelov Committed by Antoan Angelov
Browse files

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
parent bdb40056
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment