summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-07-19 18:50:16 -0400
committerJohn Spurlock <jspurlock@google.com>2014-07-19 18:50:16 -0400
commitab4ea76edebe7fbdfec4140d03b23060a96c6f8c (patch)
tree07351614117fec3842d4074064ed23c0e8ec7875 /packages/SystemUI
parent9bc41d44d646585fd59013b5cf3a53709550d6c8 (diff)
downloadframeworks_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')
-rw-r--r--packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java1
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) {