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

Commit b416e241 authored by Jeff Brown's avatar Jeff Brown
Browse files

Fix bug reporting presence of orientation axis. (DO NOT MERGE)

Change-Id: I20aecca392d2843601e6e0ec4ac913c8ccdbbf89
parent 325bd07b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2169,6 +2169,8 @@ bool TouchInputMapper::configureSurfaceLocked() {
                }
            }

            mLocked.orientedRanges.haveOrientation = true;

            mLocked.orientedRanges.orientation.axis = AMOTION_EVENT_AXIS_ORIENTATION;
            mLocked.orientedRanges.orientation.source = mTouchSource;
            mLocked.orientedRanges.orientation.min = - M_PI_2;