Merge "Fix aborting transition when deliver to top bellow transient launch" into udc-dev
This commit is contained in:
@@ -1573,8 +1573,10 @@ class ActivityStarter {
|
|||||||
// existence change.
|
// existence change.
|
||||||
transitionController.collectExistenceChange(started);
|
transitionController.collectExistenceChange(started);
|
||||||
} else if (result == START_DELIVERED_TO_TOP && newTransition != null
|
} else if (result == START_DELIVERED_TO_TOP && newTransition != null
|
||||||
// An activity has changed order/visibility so this isn't just deliver-to-top
|
// An activity has changed order/visibility or the task is occluded by a transient
|
||||||
&& mMovedToTopActivity == null) {
|
// activity, so this isn't just deliver-to-top
|
||||||
|
&& mMovedToTopActivity == null
|
||||||
|
&& !transitionController.isTransientHide(startedActivityRootTask)) {
|
||||||
// We just delivered to top, so there isn't an actual transition here.
|
// We just delivered to top, so there isn't an actual transition here.
|
||||||
if (!forceTransientTransition) {
|
if (!forceTransientTransition) {
|
||||||
newTransition.abort();
|
newTransition.abort();
|
||||||
|
|||||||
Reference in New Issue
Block a user