Merge "Fixed bug with non-focusable stack activity not displaying on start." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
f5725e6501
@@ -1037,6 +1037,9 @@ class ActivityStarter {
|
|||||||
// make sure it becomes visible as it starts (this will also trigger entry
|
// make sure it becomes visible as it starts (this will also trigger entry
|
||||||
// animation). An example of this are PIP activities.
|
// animation). An example of this are PIP activities.
|
||||||
mTargetStack.ensureActivitiesVisibleLocked(null, 0, !PRESERVE_WINDOWS);
|
mTargetStack.ensureActivitiesVisibleLocked(null, 0, !PRESERVE_WINDOWS);
|
||||||
|
// Go ahead and tell window manager to execute app transition for this activity
|
||||||
|
// since the app transition will not be triggered through the resume channel.
|
||||||
|
mWindowManager.executeAppTransition();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
mTargetStack.addRecentActivityLocked(mStartActivity);
|
mTargetStack.addRecentActivityLocked(mStartActivity);
|
||||||
|
|||||||
Reference in New Issue
Block a user