Skip to content

Commit 541f6cf

Browse files
Amith YamasaniAndroid (Google) Code Review
authored andcommitted
Merge "Add alarm volume to the list of volumes in the volume overlay." into ics-mr0
2 parents 39268ff + 92e1b2d commit 541f6cf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

core/java/android/view/VolumePanel.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ private enum StreamResources {
134134
R.drawable.ic_audio_phone,
135135
R.drawable.ic_audio_phone,
136136
false),
137+
AlarmStream(AudioManager.STREAM_ALARM,
138+
R.string.volume_alarm,
139+
R.drawable.ic_audio_alarm,
140+
R.drawable.ic_audio_alarm_mute,
141+
false),
137142
MediaStream(AudioManager.STREAM_MUSIC,
138143
R.string.volume_icon_description_media,
139144
R.drawable.ic_audio_vol,
@@ -167,7 +172,8 @@ private enum StreamResources {
167172
StreamResources.RingerStream,
168173
StreamResources.VoiceStream,
169174
StreamResources.MediaStream,
170-
StreamResources.NotificationStream
175+
StreamResources.NotificationStream,
176+
StreamResources.AlarmStream
171177
};
172178

173179
/** Object that contains data for each slider */

0 commit comments

Comments
 (0)