Merge "Trigger app transition explicitly when nothing gets resumed" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
44fb3a97ff
@@ -2638,6 +2638,9 @@ class ActivityStack extends Task {
|
||||
mRootWindowContainer.ensureVisibilityAndConfig(null /* starting */,
|
||||
getDisplay().mDisplayId, false /* markFrozenIfConfigChanged */,
|
||||
false /* deferResume */);
|
||||
// Usually resuming a top activity triggers the next app transition, but nothing's got
|
||||
// resumed in this case, so we need to execute it explicitly.
|
||||
getDisplay().mDisplayContent.executeAppTransition();
|
||||
} else {
|
||||
mRootWindowContainer.resumeFocusedStacksTopActivities();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user