make sure the ringtones at the selector dialog loop
This commit is contained in:
parent
f1fe2cf1fa
commit
f2253f80c4
|
@ -32,6 +32,7 @@ class SelectAlarmSoundDialog(val activity: SimpleActivity, val currentUri: Strin
|
|||
mediaPlayer = MediaPlayer().apply {
|
||||
setAudioStreamType(audioStream)
|
||||
setDataSource(context, Uri.parse(alarmSound.uri))
|
||||
isLooping = true
|
||||
prepare()
|
||||
start()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue