am b416e241: Fix bug reporting presence of orientation axis. (DO NOT MERGE)
* commit 'b416e241db85b678cdfcdee1c74a7f356a5554ef': Fix bug reporting presence of orientation axis. (DO NOT MERGE)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user