Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a08adc5 authored by Simon (Qiong) Sun's avatar Simon (Qiong) Sun
Browse files

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
parent b7138e53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment