commit | 280630bfe552669446c32131558f555948b301cf | [log] [tgz] |
---|---|---|
author | bj1211.jeon <bj1211.jeon@samsung.com> | Fri Sep 20 10:21:25 2019 +0900 |
committer | Vishnu Nair <vishnun@google.com> | Mon Nov 11 09:49:54 2019 -0800 |
tree | 368ee8068ffb4825d3cb7d6d977aaa08403cbba5 | |
parent | 643bbeb147ea1f64d2151592ab40bd3bdc6fd1fc [diff] |
Change condition for entering in touchMode Currenly when motionEvent is injected, current logic makes touchmode false even if the event's source is STYLUS or MOUSE event, which seems not an intended behavior that leaving touchMode. Hence, modify the logic to make sure touchMode is ture only when event source is TOUCHSCREEN. Bug: b/135752906 Test : run android.view.cts.ViewTest#testTouchMode (cherry picked from commit 12b99ea7f108ec3b240f6bd569a5c6ab0f925071)