From cfe9fb67949100c864c7b0b913d10a7cfd0fc141 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Wed, 26 Nov 2014 11:37:00 -0500 Subject: [PATCH] Volume: Update remote volume icons. Remove last holo references by using the new-style cast connected icon. There is only one icon for the remote stream, since it is never muted by policy. Bug: 18102850 Change-Id: Iffe3a19deca6599780ebdb26869ae46aa8623f81 --- .../SystemUI/res/drawable/ic_audio_remote.xml | 25 +++++++++++++++++++ .../android/systemui/volume/VolumePanel.java | 4 +-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 packages/SystemUI/res/drawable/ic_audio_remote.xml diff --git a/packages/SystemUI/res/drawable/ic_audio_remote.xml b/packages/SystemUI/res/drawable/ic_audio_remote.xml new file mode 100644 index 0000000000000..762878b8deae2 --- /dev/null +++ b/packages/SystemUI/res/drawable/ic_audio_remote.xml @@ -0,0 +1,25 @@ + + + + + diff --git a/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java b/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java index 1fe46987f9320..47cb6d26f403d 100644 --- a/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java +++ b/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java @@ -223,8 +223,8 @@ public class VolumePanel extends Handler implements DemoMode { false), RemoteStream(STREAM_REMOTE_MUSIC, R.string.volume_icon_description_media, //FIXME should have its own description - R.drawable.ic_media_route_on_holo_dark, - R.drawable.ic_media_route_disabled_holo_dark, + com.android.systemui.R.drawable.ic_audio_remote, + com.android.systemui.R.drawable.ic_audio_remote, false);// will be dynamically updated int streamType;