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

Commit 6ef142a0 authored by Jeff Brown's avatar Jeff Brown Committed by Android Git Automerger
Browse files

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

* commit 'b416e241':
  Fix bug reporting presence of orientation axis. (DO NOT MERGE)
parents 53c3d5b1 b416e241
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;