Merge "Decrease the touch slop to prevent unintentional long presses" into tm-qpr-dev am: 9bc189cd56 am: c4d381d68e

Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/22173742

Change-Id: Ia04f3db9de74163844582648ae4dd9d605d77fd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
TreeHugger Robot 2023-03-24 19:25:51 +00:00 committed by Automerger Merge Worker
commit 5f55e888ce

View file

@ -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>