Merge "Add alarm volume to the list of volumes in the volume overlay." into ics-mr0

This commit is contained in:
Amith Yamasani
2011-10-17 09:42:52 -07:00
committed by Android (Google) Code Review

View File

@@ -134,6 +134,11 @@ public class VolumePanel extends Handler implements OnSeekBarChangeListener, Vie
R.drawable.ic_audio_phone,
R.drawable.ic_audio_phone,
false),
AlarmStream(AudioManager.STREAM_ALARM,
R.string.volume_alarm,
R.drawable.ic_audio_alarm,
R.drawable.ic_audio_alarm_mute,
false),
MediaStream(AudioManager.STREAM_MUSIC,
R.string.volume_icon_description_media,
R.drawable.ic_audio_vol,
@@ -167,7 +172,8 @@ public class VolumePanel extends Handler implements OnSeekBarChangeListener, Vie
StreamResources.RingerStream,
StreamResources.VoiceStream,
StreamResources.MediaStream,
StreamResources.NotificationStream
StreamResources.NotificationStream,
StreamResources.AlarmStream
};
/** Object that contains data for each slider */