Merge "Start a visible requested activity if still in initializing state" into tm-dev am: bfccc9fdcd am: d198473d1a
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17651824 Change-Id: I5087e8903e66b3509a5b0b4f514b6080d29f4c49 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -244,7 +244,7 @@ class EnsureActivitiesVisibleHelper {
|
||||
// invisible. If the app is already visible, it must have died while it was visible. In this
|
||||
// case, we'll show the dead window but will not restart the app. Otherwise we could end up
|
||||
// thrashing.
|
||||
if (!isTop && r.mVisibleRequested) {
|
||||
if (!isTop && r.mVisibleRequested && !r.isState(INITIALIZING)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user