Merge "Fixed bug with non-focusable stack activity not displaying on start." into nyc-dev

This commit is contained in:
Wale Ogunwale
2016-02-23 01:25:03 +00:00
committed by Android (Google) Code Review

View File

@@ -1037,6 +1037,9 @@ class ActivityStarter {
// make sure it becomes visible as it starts (this will also trigger entry
// animation). An example of this are PIP activities.
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 {
mTargetStack.addRecentActivityLocked(mStartActivity);