summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2014-11-26 11:37:00 -0500
committerJohn Spurlock <jspurlock@google.com>2014-11-26 11:37:00 -0500
commitcfe9fb67949100c864c7b0b913d10a7cfd0fc141 (patch)
tree66f4159f0e206f4f367b0f5111427351655ca3f1 /packages
parentc1de25d8ebaecff697c1d5dfaa445e18ee07fa2d (diff)
downloadframeworks_base-cfe9fb67949100c864c7b0b913d10a7cfd0fc141.zip
frameworks_base-cfe9fb67949100c864c7b0b913d10a7cfd0fc141.tar.gz
frameworks_base-cfe9fb67949100c864c7b0b913d10a7cfd0fc141.tar.bz2
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
Diffstat (limited to 'packages')
-rw-r--r--packages/SystemUI/res/drawable/ic_audio_remote.xml25
-rw-r--r--packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java4
2 files changed, 27 insertions, 2 deletions
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 0000000..762878b
--- /dev/null
+++ b/packages/SystemUI/res/drawable/ic_audio_remote.xml
@@ -0,0 +1,25 @@
+<!--
+Copyright (C) 2014 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="28dp"
+ android:height="28dp"
+ android:viewportWidth="48.0"
+ android:viewportHeight="48.0">
+
+ <path
+ android:fillColor="#FFFFFFFF"
+ android:pathData="M2.0,36.0l0.0,6.0l6.0,0.0C8.0,38.7 5.3,36.0 2.0,36.0zM2.0,28.0l0.0,4.0c5.5,0.0 10.0,4.5 10.0,10.0l4.0,0.0C16.0,34.3 9.7,28.0 2.0,28.0zM38.0,14.0L10.0,14.0l0.0,3.3c7.9,2.6 14.2,8.8 16.7,16.7L38.0,34.0L38.0,14.0zM2.0,20.0l0.0,4.0c9.9,0.0 18.0,8.1 18.0,18.0l4.0,0.0C24.0,29.8 14.1,20.0 2.0,20.0zM42.0,6.0L6.0,6.0c-2.2,0.0 -4.0,1.8 -4.0,4.0l0.0,6.0l4.0,0.0l0.0,-6.0l36.0,0.0l0.0,28.0L28.0,38.0l0.0,4.0l14.0,0.0c2.2,0.0 4.0,-1.8 4.0,-4.0L46.0,10.0C46.0,7.8 44.2,6.0 42.0,6.0z"/>
+</vector>
diff --git a/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java b/packages/SystemUI/src/com/android/systemui/volume/VolumePanel.java
index 1fe4698..47cb6d2 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;