Merge "Decrease the touch slop to prevent unintentional long presses" into tm-qpr-dev am: 9bc189cd56
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22173742 Change-Id: I63b576056be8343ccb83776c39bff532335936f8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
c4d381d68e
1 changed files with 8 additions and 0 deletions
|
@ -569,6 +569,14 @@
|
|||
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
|
||||
</integer-array>
|
||||
|
||||
<!-- Override the "touch slop" value used by ViewConfiguration.
|
||||
This prevents misclassification of gestures as long presses, by reducing the
|
||||
distance that the pointer can travel while still being treated as "stationary".
|
||||
The default value is 8dp, which is roughly 1.5mm on this device. On another
|
||||
reference device, the touch slop was estimated at ~ 1 mm. Therefore, set the
|
||||
touch slop to 8/1.5 =~ 5 dp to make it closer to the reference device. -->
|
||||
<dimen name="config_viewConfigurationTouchSlop">5dp</dimen>
|
||||
|
||||
<!-- The default volume for the notification stream -->
|
||||
<integer name="config_audio_notif_vol_default">0</integer>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue