Merge "Fix black frame in finishing transition" into nyc-dev
am: cffe389
* commit 'cffe389a22cf3f3d63ec37a591b0d6226e1db99e':
Fix black frame in finishing transition
Change-Id: I23e2deb5a2e3d6a6b285b327b5c3b0ea48790b37
This commit is contained in:
@@ -3434,8 +3434,8 @@ final class ActivityStack {
|
|||||||
mWindowManager.executeAppTransition();
|
mWindowManager.executeAppTransition();
|
||||||
mStackSupervisor.mWaitingVisibleActivities.add(r);
|
mStackSupervisor.mWaitingVisibleActivities.add(r);
|
||||||
}
|
}
|
||||||
return finishCurrentActivityLocked(r,
|
return finishCurrentActivityLocked(r, (r.visible || r.nowVisible) ?
|
||||||
r.visible ? FINISH_AFTER_VISIBLE : FINISH_AFTER_PAUSE, oomAdj) == null;
|
FINISH_AFTER_VISIBLE : FINISH_AFTER_PAUSE, oomAdj) == null;
|
||||||
} else {
|
} else {
|
||||||
if (DEBUG_PAUSE) Slog.v(TAG_PAUSE, "Finish waiting for pause of: " + r);
|
if (DEBUG_PAUSE) Slog.v(TAG_PAUSE, "Finish waiting for pause of: " + r);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user