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

Skip to content
Commit c1a18dea authored by Jiaming Liu's avatar Jiaming Liu
Browse files

Fix invalidate rotation value which causes CTS failures

The rotation value should be restored only if there is a valid value for mHalfFoldSavedRotation (i.e. mHalfFoldSavedRotation != -1), otherwise, the rotation value will become -1 and cause failures in tests.

Bug: 255241217
Test: atest android.hardware.devicestate.cts.DeviceStateManagerTests

Change-Id: I07f0d2543d345016c5508046e568e8372f048e27
parent fac53656
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment