Don't show profile switching animation by default
Stop showing the profile switching animation by default for CrossProfileApps#startActivity which accepts an intent. For some reason, it shows the wrong profile indicator and given the platform deadline we don't have time to investigate the issue. Bug: 229712074 Test: manual Change-Id: Ib533751cdce000b66935c14ed1932bf9ea7306fd
This commit is contained in:
@@ -236,13 +236,6 @@ public class CrossProfileAppsServiceImpl extends ICrossProfileApps.Stub {
|
||||
|
||||
verifyActivityCanHandleIntent(launchIntent, callingUid, userId);
|
||||
|
||||
// Always show the cross profile animation
|
||||
if (options == null) {
|
||||
options = ActivityOptions.makeOpenCrossProfileAppsAnimation().toBundle();
|
||||
} else {
|
||||
options.putAll(ActivityOptions.makeOpenCrossProfileAppsAnimation().toBundle());
|
||||
}
|
||||
|
||||
mInjector.getActivityTaskManagerInternal()
|
||||
.startActivityAsUser(
|
||||
caller,
|
||||
|
||||
Reference in New Issue
Block a user