Fixing regression in enter-recents state.
am: d7cb517b4c
* commit 'd7cb517b4ce10fa98213da18ccdb2261fb797f7c':
Fixing regression in enter-recents state.
Change-Id: I60bde13a5a39ad88505d1710bb9358627404edaa
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user