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

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

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

* commit '6ef142a0':
  Fix bug reporting presence of orientation axis. (DO NOT MERGE)
parents 23e620b3 6ef142a0
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;