diff options
| author | 2011-05-25 14:49:20 -0700 | |
|---|---|---|
| committer | 2011-05-25 14:49:20 -0700 | |
| commit | a1a56bd0e3d730edab327495acd5d90b10a6f1e4 (patch) | |
| tree | 22613a2a511c09201872ba6c0ad263a7f19f4296 | |
| parent | 23e620b32f9c243e124309681b95fe228feb53b8 (diff) | |
| parent | 6ef142a05081333f104abde225af9eccd1b92d6c (diff) | |
am 6ef142a0: am b416e241: Fix bug reporting presence of orientation axis. (DO NOT MERGE)
* commit '6ef142a05081333f104abde225af9eccd1b92d6c':
Fix bug reporting presence of orientation axis. (DO NOT MERGE)
| -rw-r--r-- | services/input/InputReader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/input/InputReader.cpp b/services/input/InputReader.cpp index 5e1161f17609..853ceb3c9f64 100644 --- a/services/input/InputReader.cpp +++ b/services/input/InputReader.cpp @@ -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; |