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

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

Change-Id: Iffba2a23d584624099a117450af36dbf7e2c50ff
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:57:56 +00:00 committed by Automerger Merge Worker
commit 9eaec71822

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>