summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yeabkal Wubshit <yeabkal@google.com> 2023-09-13 18:34:01 -0700
committer Yeabkal Wubshit <yeabkal@google.com> 2023-09-15 00:31:24 +0000
commit35bfcec95be33ce2f67c576e871f06348ad22ce8 (patch)
tree3964adb89c69a74b1b08969b1aa1bcee06b1ca94
parent1c504ed734e1bf8af7fafe5720c17d43b753149a (diff)
Enable rotary scroll haptics for Wear
Test: on Wear device, check for ScrollView scroll haptics Bug: 300341459 Change-Id: Ia0f41fa010ab93067fd79f32e0209ebb3ac4dfce
-rw-r--r--core/res/res/values-watch/config.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/res/res/values-watch/config.xml b/core/res/res/values-watch/config.xml
index 5319762c27d1..4027f5c78035 100644
--- a/core/res/res/values-watch/config.xml
+++ b/core/res/res/values-watch/config.xml
@@ -81,4 +81,9 @@
<!-- Floating windows can be fullscreen (i.e. windowIsFloating can still have fullscreen
window that does not wrap content). -->
<bool name="config_allowFloatingWindowsFillScreen">true</bool>
+
+ <!-- Whether scroll haptic feedback is enabled for rotary encoder scrolls on
+ {@link MotionEvent#AXIS_SCROLL} generated by {@link InputDevice#SOURCE_ROTARY_ENCODER}
+ devices. -->
+ <bool name="config_viewRotaryEncoderHapticScrollFedbackEnabled">true</bool>
</resources>