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

Commit e72b1ef7 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: 38a68f0c

Change-Id: I47279cc51b912e5468affef2b42468ac9a7fbc80
parents 27c47f09 38a68f0c
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();
            }
        }
    };