commit | b09334424b011effbb9a362d004f1ace4f4b7dde | [log] [tgz] |
---|---|---|
author | Mady Mellor <madym@google.com> | Wed May 27 14:15:57 2015 -0700 |
committer | Mady Mellor <madym@google.com> | Wed May 27 14:15:57 2015 -0700 |
tree | 661de3b72aab6c3446a22c883c39ef1489380555 | |
parent | 5fa7b8bd8cbf6407ab88bdf5f3e3a6e40053b98c [diff] |
Update stylus button press recognition in GestureDetector to use new APIs Button press events now occur in onGenericMotionEvent. This CL update the button press detection code in GestureDetector to recognize the gestures within onGenericMotionEvent rather than in onTouchEvent. Bug: 21148238 Change-Id: I6729668ed9bb600d8bf5e42e5ba9d8201b642d68