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

am: f5725e6501

* commit 'f5725e6501f1d326e2b7ab3e9cee5ef4058858df':
  Fixed bug with non-focusable stack activity not displaying on start.
This commit is contained in:
Wale Ogunwale
2016-02-23 01:32:11 +00:00
committed by android-build-merger

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);