summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@cyanogenmod.org>2016-02-22 18:01:07 +0200
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-03-03 15:05:27 -0800
commit9ae49e005d7a880d160a9b6a5795351a5d588da0 (patch)
treec90b19b1a2b6879fac550d27794c6910e2555858 /packages/SystemUI/src
parent620a025c1bfdad254616d223c83cfa232988d0b7 (diff)
downloadframeworks_base-9ae49e005d7a880d160a9b6a5795351a5d588da0.zip
frameworks_base-9ae49e005d7a880d160a9b6a5795351a5d588da0.tar.gz
frameworks_base-9ae49e005d7a880d160a9b6a5795351a5d588da0.tar.bz2
SystemUI: Fix volume panel inconsistencies
* Use xml drawables everywhere * Add muted notification icon * Use AOSP naming scheme for drawables Change-Id: I14a3af9a7aecf4828f81a8e39855608e452848d6
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r--packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java b/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java
index 3ed18c9..7c3392e 100644
--- a/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java
+++ b/packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java
@@ -194,7 +194,7 @@ public class VolumeDialog {
});
addRow(AudioManager.STREAM_RING,
- R.drawable.ic_ringer_audible, R.drawable.ic_volume_ringer_mute, true);
+ R.drawable.ic_volume_ringer, R.drawable.ic_volume_ringer_mute, true);
addRow(AudioManager.STREAM_MUSIC,
R.drawable.ic_volume_media, R.drawable.ic_volume_media_mute, true);
addRow(AudioManager.STREAM_ALARM,
@@ -652,9 +652,9 @@ public class VolumeDialog {
removeRow(notificationRow);
}
} else if (!mState.linkedNotification) {
- // TODO get icon for mute state
addRow(AudioManager.STREAM_NOTIFICATION,
- R.drawable.ic_notification_audible, R.drawable.ic_notification_audible, true);
+ R.drawable.ic_volume_notification, R.drawable.ic_volume_notification_mute,
+ true);
}
}