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

Commit e61ca955 authored by Jonas Larsson's avatar Jonas Larsson Committed by Steve Kondik
Browse files

Fix setStreamTyp not working

Breakage caused by previous commit. This also fixes the leakage
that commit was intended to fix.
parent 55443cc8
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -166,9 +166,7 @@ public class Ringtone {
    }
    
    private void openMediaPlayer() throws IOException {
        if (mAudio != null) {
            return;
        }
        stop();
        mAudio = new MediaPlayer();
        if (mUri != null) {
            mAudio.setDataSource(mContext, mUri);