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

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

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

Merge "Expand minimized split stack on relaunch-attempt" into rvc-dev am: 38a68f0c am: e72b1ef7 am: 130a49e2

Change-Id: Ib22610c82ee67d787e1ea7c3c6482f823f3afa12
parents ba377db8 130a49e2
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -71,12 +71,13 @@ 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) {
                    != WINDOWING_MODE_SPLIT_SCREEN_PRIMARY || !mDividerOptional.isPresent()) {
                return;
            }

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