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

Commit a1604ca2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Merge "Revert "Expand minimized split stack on relaunch-attempt"" into rvc-dev am: 7c96a861 am: 52afb55f am: 39399e5f

Change-Id: I76b2f2f77949781a0c3e715e5ce547d4d36dad42
parents 7a5c97be 39399e5f
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 */);
            }
        }
    };