diff options
| author | 2023-01-10 01:02:43 +0000 | |
|---|---|---|
| committer | 2023-01-17 22:18:38 +0000 | |
| commit | 0d1fc26c7ca218bf0fd00e97714aff02308a4ef1 (patch) | |
| tree | 4c2f8e45fefdf0deb2b88683ee19ea8e0b4e5e3e /libs/input/PointerController.cpp | |
| parent | fed657bf8029fe90d3553fc120cddd475d8604d6 (diff) | |
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions