commit | 33949862d4cf9f61acf1bb964e5e5e11510b27d6 | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Tue Jan 02 18:48:13 2018 -0800 |
committer | Siarhei Vishniakou <svv@google.com> | Thu Jan 24 02:29:04 2019 +0000 |
tree | 9e3c3b80d75992d5eda7e2e175ccd84593fdc5d9 | |
parent | bacad701091563e3cde35d556752dbfc54875f13 [diff] |
Accelerate long press in View.java If a force press is detected, the MotionEvent will have a classification of CLASSIFICATION_DEEP_PRESS. When this type is detected, dispatch the long press event immediately. Bug: 62940136 Test: "force" press on home screen and see the logcat message about accelerating the long press action, see the menu appear sooner than the typical timeout for long press. Change-Id: Ifcd953356f42248c1d3c6674877b84b3aaf01299