Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7c96a861 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert "Expand minimized split stack on relaunch-attempt"" into rvc-dev

parents cc3a1577 4c907029
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -71,13 +71,12 @@ public class OverviewProxyRecentsImpl implements RecentsImplementation {
        public void onActivityRestartAttempt(ActivityManager.RunningTaskInfo task,
                boolean homeTaskVisible, boolean clearedTask) {
            if (task.configuration.windowConfiguration.getWindowingMode()
                    != WINDOWING_MODE_SPLIT_SCREEN_PRIMARY || !mDividerOptional.isPresent()) {
                    != WINDOWING_MODE_SPLIT_SCREEN_PRIMARY) {
                return;
            }

            final Divider divider = mDividerOptional.get();
            if (divider.isMinimized()) {
                divider.onUndockingTask();
            if (homeTaskVisible) {
                showRecentApps(false /* triggeredFromAltTab */);
            }
        }
    };