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

Commit 885fb796 authored by Winson's avatar Winson Committed by android-build-merger
Browse files

Fixing regression in enter-recents state. am: d7cb517b

am: e83439d0

* commit 'e83439d0':
  Fixing regression in enter-recents state.

Change-Id: I6e772b0822c5eff42c478390663b0c1e5bc6cf22
parents 2bcdb4f8 e83439d0
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -262,8 +262,9 @@ public class RecentsImpl implements ActivityOptions.OnAnimationFinishedListener
        try {
            // Check if the top task is in the home stack, and start the recents activity
            SystemServicesProxy ssp = Recents.getSystemServices();
            MutableBoolean isHomeStackVisible = new MutableBoolean(false);
            if (!ssp.isRecentsActivityVisible(isHomeStackVisible)) {
            boolean forceVisible = launchedWhileDockingTask || draggingInRecents;
            MutableBoolean isHomeStackVisible = new MutableBoolean(forceVisible);
            if (forceVisible || !ssp.isRecentsActivityVisible(isHomeStackVisible)) {
                ActivityManager.RunningTaskInfo runningTask = ssp.getRunningTask();
                startRecentsActivity(runningTask, isHomeStackVisible.value || fromHome, animate,
                        growTarget);