diff options
| author | 2024-04-24 10:40:34 +0000 | |
|---|---|---|
| committer | 2024-04-24 10:46:13 +0000 | |
| commit | 9ff6e9b40a02eff4f8f7bf37308a47f94fbb3c63 (patch) | |
| tree | a689459b18c4fdbaf79ef9ecf4998e0dd625fabc /libs/input/PointerController.cpp | |
| parent | 8834639aff3d0631e872ccf3ffb92a60242e40c5 (diff) | |
Allow switching to outer screen only after passing 90 degrees
Currently, we allow switching after passing 45 degrees.
As we switch to the outer screen when hinge angle
is <45 degrees, the following sequence of hinge
angles could lead to unwanted closed state change:
0, 30, 45, 40, 60, 180.
Test: manual fold/unfold
Test: atest BookStyleDeviceStatePolicyTest
Bug: 334947103
Change-Id: Ia321cb1cc45c0f737dc3da82b5acbe56b76887a1
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions