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

Skip to content
Commit 0d1fc26c authored by Grace Cheng's avatar Grace Cheng
Browse files

Fixes updateOverlayVisibility and updates SideFpsControllerTest for natural orientation shift

Fixes tests broken by ag/20860930 and ag/20860330. This change updates SideFpsControllerTest to reflect shift in natural orientation on
x-aligned sfps devices, and updates parameters of test device configs. Sets up SysUiTestableContext and override for isReverseDefaultRotation field in SideFpsController, and adds more comprehensive test coverage for x-aligned and y-aligned configurations in all rotations, and with and without reverseDefaultRotation. Also adds missing call to getRotationFromDefault in updateOverlayVisibility.

Test: atest SideFpsControllerTest
Fixes: 264589193
Fixes: 264274708
Change-Id: I23b819c7bbe6ad91284753c9bf35d34a30f38532
parent fed657bf
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