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

Skip to content
Commit 428b72dd authored by Abdelrahman Awadalla's avatar Abdelrahman Awadalla
Browse files

Modify the translation of the orientation on the touchpad visualizer

Instead of translating the value of the orientation from the range [OrientationMinimum, OrientationMaximum] to the range [0, 360], now it is translated from the range [0, OrientationMaximum] to the range [0, 90]. That way it should be more compatible with the OrientationMaximum data given in the HardwareProperties.

Test: Build
Test: Manual testing
Bug: 286551975
Flag: com.android.hardware.input.touchpad_visualizer
Change-Id: I2038390221d6468cde64e78a59c7ee958a173734
parent 814af359
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment