commit | 68e280074dfdbce4329a3e1315d855a41dcb4e5e | [log] [tgz] |
---|---|---|
author | Mady Mellor <madym@google.com> | Wed May 27 13:35:23 2015 -0700 |
committer | Mady Mellor <madym@google.com> | Wed May 27 13:35:23 2015 -0700 |
tree | 00d19ffab9cc976d9a57b94546fc53c19a6b427a | |
parent | 5fa7b8bd8cbf6407ab88bdf5f3e3a6e40053b98c [diff] |
Update stylus button press recognition in View to use new MotionEvent APIs Button press events now occur in onGenericMotionEvent. This CL updates the button press detection code in View to recognize the gesture within onGenericMotionEvent rather than in onTouchEvent. Bug: 21148238 Change-Id: I6b5d6d6840e7cb6d3dabf8b138828ae862db8ed4