summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Grace Cheng <graciecheng@google.com> 2023-01-10 01:02:43 +0000
committer Grace Cheng <graciecheng@google.com> 2023-01-17 22:18:38 +0000
commit0d1fc26c7ca218bf0fd00e97714aff02308a4ef1 (patch)
tree4c2f8e45fefdf0deb2b88683ee19ea8e0b4e5e3e /libs/input/PointerController.cpp
parentfed657bf8029fe90d3553fc120cddd475d8604d6 (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