ChicoState / Smart-Nap

0 stars 2 forks source link

Current alarm sound plays as ringtone #9

Closed cboatsman closed 7 years ago

cboatsman commented 7 years ago

This issue is an extension of Issue #3 which has been fixed. The alarm dialog pops up and plays a ringtone as a sound, but does not play if the volume is silenced on phone. This should be fixed to play the sound regardless of whether the phone is muted or not. Think about an alarm clock to wake you up, but you silence your phone overnight, and the alarm sound doesn't play. This is how the dialog currently acts, but is not desired.

cboatsman commented 7 years ago

As outlined in thread https://stackoverflow.com/questions/15578812/troubles-play-sound-in-silent-mode-on-android there should be an older SDK method of doing this fix. However, this fix works as long as the minimum SDK version is 21. Closing this specific issue with intent to further enhance compatibility across multiple SDK versions.