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

Change-Id: I20aecca392d2843601e6e0ec4ac913c8ccdbbf89
This commit is contained in:
Jeff Brown
2011-05-24 15:17:57 -07:00
parent 325bd07b31
commit b416e241db

View File

@ -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;