mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
0ba227922e
commit
4aef60d638
|
@ -162,9 +162,9 @@ public class MediaPlayerHelper {
|
|||
}
|
||||
|
||||
static void startMusic(Context context, Uri uri, Runnable onCompleted) throws IOException {
|
||||
stopMusic(context);
|
||||
|
||||
synchronized (lock) {
|
||||
stopMusic(context);
|
||||
|
||||
MediaPlayerHelper.uri = uri;
|
||||
MediaPlayerHelper.onCompleted = onCompleted;
|
||||
|
||||
|
|
Loading…
Reference in New Issue