diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-08-19 16:04:30 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-08-19 16:04:30 -0700 |
commit | a66cee134e2ad8a6d100e0e3eefa2c2a341ed7cc (patch) | |
tree | 10d2b17244e51e87357bf32cea28596565da56b0 /services/input | |
parent | 65fd251c3913fc921468a3dad190810db19eb9df (diff) | |
download | frameworks_base-a66cee134e2ad8a6d100e0e3eefa2c2a341ed7cc.zip frameworks_base-a66cee134e2ad8a6d100e0e3eefa2c2a341ed7cc.tar.gz frameworks_base-a66cee134e2ad8a6d100e0e3eefa2c2a341ed7cc.tar.bz2 |
Fix tap gesture on touch pads.
Change-Id: I92b23e5971d4b98b173aacd64fe03ce9f0755c88
Diffstat (limited to 'services/input')
-rw-r--r-- | services/input/InputReader.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/services/input/InputReader.cpp b/services/input/InputReader.cpp index 88378ef..40c85fc 100644 --- a/services/input/InputReader.cpp +++ b/services/input/InputReader.cpp @@ -3394,8 +3394,6 @@ void TouchInputMapper::sync(nsecs_t when) { pointerUsage = POINTER_USAGE_MOUSE; } else if (!mCurrentFingerIdBits.isEmpty() || isPointerDown(mCurrentButtonState)) { pointerUsage = POINTER_USAGE_GESTURES; - } else { - pointerUsage = POINTER_USAGE_NONE; } dispatchPointerUsage(when, policyFlags, pointerUsage); |