Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 92e1b2d3 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Add alarm volume to the list of volumes in the volume overlay.

This will be used only for adjusting the alarm volume when an
alarm ringtone is being selected.

Bug: 5164828
Change-Id: Ia4a12b1946fb0715e97101bfd389c6bd33c448c7
parent e6fee18d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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 */