Ring volume icon stuck at normal

Fix the bug where dragging ring volume slider all the way to left
would not trigger an icon change, on devices that do not have
a vibrator.

Solution: offer a boolean config for volumeDownToEnterSilent.

Bug: 265459313

Test: Manual. Slide ring volume to left in settings. Ring volume
icon should switch to mute/vibrate and not get stuck at normal.

Change-Id: I71621dc2655317de8fb16b7b57d6087dfe7ceff3
This commit is contained in:
Behnam Heydarshahi 2023-01-18 21:28:07 +00:00
parent ca1754a040
commit 3fcd20eb88

View file

@ -569,6 +569,9 @@
<!-- The default volume for the notification stream -->
<integer name="config_audio_notif_vol_default">0</integer>
<!-- Volume policy -->
<bool name="config_volume_down_to_enter_silent">true</bool>
<!-- This device does not allow mobile data. -->
<bool name="config_mobile_data_capable">false</bool>