Merge "Don't show profile switching animation by default" into tm-dev

This commit is contained in:
Kholoud Mohamed
2022-05-04 19:02:50 +00:00
committed by Android (Google) Code Review

View File

@@ -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,