OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65fd251
)
Fix tap gesture on touch pads.
author
Jeff Brown
<jeffbrown@google.com>
Fri, 19 Aug 2011 23:04:30 +0000
(16:04 -0700)
committer
Jeff Brown
<jeffbrown@google.com>
Fri, 19 Aug 2011 23:04:30 +0000
(16:04 -0700)
Change-Id: I92b23e5971d4b98b173aacd64fe03ce9f0755c88
services/input/InputReader.cpp
patch
|
blob
|
history
diff --git
a/services/input/InputReader.cpp
b/services/input/InputReader.cpp
index
88378ef
..
40c85fc
100644
(file)
--- 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);