Merge "Don't use WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY" into sc-dev

This commit is contained in:
Wale Ogunwale
2021-04-16 21:11:18 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 5 deletions

View File

@@ -169,8 +169,6 @@ public class NotificationRemoteInputManager implements Dumpable {
return mCallback.handleRemoteViewClick(view, pendingIntent,
action == null ? false : action.isAuthenticationRequired(), () -> {
Pair<Intent, ActivityOptions> options = response.getLaunchOptions(view);
options.second.setLaunchWindowingMode(
WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY);
mLogger.logStartingIntentWithDefaultHandler(entry, pendingIntent);
return RemoteViews.startPendingIntent(view, pendingIntent, options);
});

View File

@@ -4622,9 +4622,6 @@ public class StatusBar extends SystemUI implements DemoMode,
} else {
options = ActivityOptions.makeBasic();
}
// Anything launched from the notification shade should always go into the secondary
// split-screen windowing mode.
options.setLaunchWindowingMode(WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY);
return options;
}