Merge "Fix layout been truncated after activated split screen" into sc-v2-dev am: 93e22893e8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16005847 Change-Id: I440334a2ac5686d93e8b62ffd5406567227a772c
This commit is contained in:
@@ -515,6 +515,9 @@ class StageCoordinator implements SplitLayout.SplitLayoutHandler,
|
||||
mSideStage.removeAllTasks(wct, childrenToTop == mSideStage);
|
||||
mMainStage.deactivate(wct, childrenToTop == mMainStage);
|
||||
mTaskOrganizer.applyTransaction(wct);
|
||||
mSyncQueue.runInSync(t -> t
|
||||
.setWindowCrop(mMainStage.mRootLeash, null)
|
||||
.setWindowCrop(mSideStage.mRootLeash, null));
|
||||
// Hide divider and reset its position.
|
||||
setDividerVisibility(false);
|
||||
mSplitLayout.resetDividerPosition();
|
||||
|
||||
Reference in New Issue
Block a user