Remove redundant rotation in mSplitLayout
The mSplitLayout's `rotateTo` method was being called unnecessarily with `updateConfiguration`. The bounds retrieved from `configuration.windowConfiguration.getBounds()` already account for the new rotation, so a separate rotation call in `mSplitLayout` is not needed. This change prevents potential bugs related to double rotation. Bug: 438459499 Flag: EXEMPT bug fix Test: 1. Unfold device and split 2 apps at a 30:70 ratio. 2. Rotate to landscape mode. 3. Rotate the device, then unfold when the rotation to portrait mode is complete. 4. Repeat this process multiple times. Change-Id: I2e6f9e6fba90d689ced63da26b9b2b88761a4814
Loading
Please register or sign in to comment