Merge "Don't show profile switching animation by default" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ad4284fdcc
@@ -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