Merge "Don't use WINDOWING_MODE_FULLSCREEN_OR_SPLIT_SCREEN_SECONDARY" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
3c8f9e1f1a
@@ -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);
|
||||
});
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user