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
Loading
Please register or sign in to comment