mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 02:37:16 +00:00
Small improvement
This commit is contained in:
parent
0ba227922e
commit
4aef60d638
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue