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
Loading
Please register or sign in to comment