diff options
author | John Spurlock <jspurlock@google.com> | 2014-07-19 18:50:16 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-07-19 18:50:16 -0400 |
commit | ab4ea76edebe7fbdfec4140d03b23060a96c6f8c (patch) | |
tree | 07351614117fec3842d4074064ed23c0e8ec7875 /packages/SystemUI/src/com/android/systemui/volume | |
parent | 9bc41d44d646585fd59013b5cf3a53709550d6c8 (diff) | |
download | frameworks_base-ab4ea76edebe7fbdfec4140d03b23060a96c6f8c.zip frameworks_base-ab4ea76edebe7fbdfec4140d03b23060a96c6f8c.tar.gz frameworks_base-ab4ea76edebe7fbdfec4140d03b23060a96c6f8c.tar.bz2 |
Volume: No sound effects on the ringer toggle.
We beep and blort enough in the rocker when switching modes.
Bug:16377522
Change-Id: I4a61979cb323d6a9623d10e10547a19982db384f
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/volume')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java b/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java index 4ada5ec..fc530d0 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java +++ b/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java @@ -484,6 +484,7 @@ public class VolumePanel extends Handler { sc.icon.setImageResource(sc.iconRes); sc.icon.setClickable(isNotificationOrRing(streamType)); if (sc.icon.isClickable()) { + sc.icon.setSoundEffectsEnabled(false); sc.icon.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { |