Merge "Do not add divider to dismiss transition" into udc-dev am: eee7c25194
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23726379 Change-Id: I1c8c5949eb6ed2d01a46cda9c2a2a614629504eb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -2543,8 +2543,11 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
|
|||||||
// handling to the mixed-handler to deal with splitting it up.
|
// handling to the mixed-handler to deal with splitting it up.
|
||||||
if (mMixedHandler.animatePendingSplitWithDisplayChange(transition, info,
|
if (mMixedHandler.animatePendingSplitWithDisplayChange(transition, info,
|
||||||
startTransaction, finishTransaction, finishCallback)) {
|
startTransaction, finishTransaction, finishCallback)) {
|
||||||
|
if (mSplitTransitions.isPendingResize(transition)) {
|
||||||
|
// Only need to update in resize because divider exist before transition.
|
||||||
mSplitLayout.update(startTransaction);
|
mSplitLayout.update(startTransaction);
|
||||||
startTransaction.apply();
|
startTransaction.apply();
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2913,8 +2916,6 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
|
|||||||
mSideStage.getSplitDecorManager().release(callbackT);
|
mSideStage.getSplitDecorManager().release(callbackT);
|
||||||
callbackWct.setReparentLeafTaskIfRelaunch(mRootTaskInfo.token, false);
|
callbackWct.setReparentLeafTaskIfRelaunch(mRootTaskInfo.token, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
addDividerBarToTransition(info, false /* show */);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user