Merge "Fix not showing divider when re-entering split with rotation" into udc-dev
This commit is contained in:
@@ -412,7 +412,10 @@ public final class SplitLayout implements DisplayInsetsController.OnInsetsChange
|
||||
|
||||
/** Releases and re-inflates {@link DividerView} on the root surface. */
|
||||
public void update(SurfaceControl.Transaction t) {
|
||||
if (!mInitialized) return;
|
||||
if (!mInitialized) {
|
||||
init();
|
||||
return;
|
||||
}
|
||||
mSplitWindowManager.release(t);
|
||||
mImePositionProcessor.reset();
|
||||
mSplitWindowManager.init(this, mInsetsState);
|
||||
|
||||
@@ -1538,7 +1538,7 @@ public class StageCoordinator implements SplitLayout.SplitLayoutHandler,
|
||||
}
|
||||
|
||||
void finishEnterSplitScreen(SurfaceControl.Transaction t) {
|
||||
mSplitLayout.init();
|
||||
mSplitLayout.update(t);
|
||||
setDividerVisibility(true, t);
|
||||
// Ensure divider surface are re-parented back into the hierarchy at the end of the
|
||||
// transition. See Transition#buildFinishTransaction for more detail.
|
||||
|
||||
Reference in New Issue
Block a user