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