Merge "Reset cached values when reset divider position" into sc-v2-dev
This commit is contained in:
@@ -305,6 +305,10 @@ public final class SplitLayout implements DisplayInsetsController.OnInsetsChange
|
|||||||
mDividePosition = mDividerSnapAlgorithm.getMiddleTarget().position;
|
mDividePosition = mDividerSnapAlgorithm.getMiddleTarget().position;
|
||||||
mSplitWindowManager.setResizingSplits(false);
|
mSplitWindowManager.setResizingSplits(false);
|
||||||
updateBounds(mDividePosition);
|
updateBounds(mDividePosition);
|
||||||
|
mWinToken1 = null;
|
||||||
|
mWinToken2 = null;
|
||||||
|
mWinBounds1.setEmpty();
|
||||||
|
mWinBounds2.setEmpty();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user