OSDN Git Service

Overhaul vibrate and silent settings to match hard keys.
authorAmith Yamasani <yamasani@google.com>
Wed, 30 Nov 2011 00:38:14 +0000 (16:38 -0800)
committerAmith Yamasani <yamasani@google.com>
Thu, 1 Dec 2011 02:46:54 +0000 (18:46 -0800)
commitdfb654367d4b65fb45089cd8d7d0905e3cd68ae3
treeb24de480c3bf8aa9ee3a2c0ab3623fd7081cacbc
parent2fa017f874d20a5b037ebe57f3fc0c53964080bc
Overhaul vibrate and silent settings to match hard keys.

We go back to the old style of toggling between Mute/Vibrate/Normal.
There is an addition of a checkbox to indicate Vibrate on ring/notif.

Icons in volume dialogs are no longer touchable.

Bug: 5586083

This simplifies the logic in SoundSettings quite a bit, since there's a 1-1 mapping
with ringer mode.

Don't disable volume sliders when muted, so you can go to zero and back up by sliding
your finger. This is because the icons are not clickable anymore.

Change-Id: Ia7ce7e1bf108419eb107f03b7720101efe1598b1
res/values/arrays.xml
res/values/strings.xml
res/xml/sound_settings.xml
src/com/android/settings/RingerVolumePreference.java
src/com/android/settings/Settings.java
src/com/android/settings/SoundSettings.java