Merge "Toast: Fix ActivityRecord does not attached to process"
This commit is contained in:
@@ -1695,7 +1695,7 @@ class TaskFragment extends WindowContainer<WindowContainer> {
|
|||||||
ProtoLog.v(WM_DEBUG_STATES, "Executing finish of activity: %s", prev);
|
ProtoLog.v(WM_DEBUG_STATES, "Executing finish of activity: %s", prev);
|
||||||
prev = prev.completeFinishing(false /* updateVisibility */,
|
prev = prev.completeFinishing(false /* updateVisibility */,
|
||||||
"completePausedLocked");
|
"completePausedLocked");
|
||||||
} else if (prev.hasProcess()) {
|
} else if (prev.attachedToProcess()) {
|
||||||
ProtoLog.v(WM_DEBUG_STATES, "Enqueue pending stop if needed: %s "
|
ProtoLog.v(WM_DEBUG_STATES, "Enqueue pending stop if needed: %s "
|
||||||
+ "wasStopping=%b visibleRequested=%b", prev, wasStopping,
|
+ "wasStopping=%b visibleRequested=%b", prev, wasStopping,
|
||||||
prev.mVisibleRequested);
|
prev.mVisibleRequested);
|
||||||
|
|||||||
Reference in New Issue
Block a user