Merge "Fix Pair-to-Pair animation being canceled in recents transition handler." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0d295f9da0
@@ -595,8 +595,8 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler {
|
|||||||
cancel(mWillFinishToHome, true /* withScreenshots */, "display change");
|
cancel(mWillFinishToHome, true /* withScreenshots */, "display change");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// Don't consider order-only changes as changing apps.
|
// Don't consider order-only & non-leaf changes as changing apps.
|
||||||
if (!TransitionUtil.isOrderOnly(change)) {
|
if (!TransitionUtil.isOrderOnly(change) && isLeafTask) {
|
||||||
hasChangingApp = true;
|
hasChangingApp = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user