Fix shuffle mode on Android.
This commit is contained in:
parent
13e257e80e
commit
0efd8e4521
|
@ -311,7 +311,7 @@ public class AudioPlayer implements MethodCallHandler, Player.EventListener, Aud
|
||||||
setLoopMode((Integer) request.get("loopMode"));
|
setLoopMode((Integer) request.get("loopMode"));
|
||||||
result.success(new HashMap<String, Object>());
|
result.success(new HashMap<String, Object>());
|
||||||
break;
|
break;
|
||||||
case "setShuffleModeEnabled":
|
case "setShuffleMode":
|
||||||
setShuffleModeEnabled((Integer) request.get("shuffleMode") == 1);
|
setShuffleModeEnabled((Integer) request.get("shuffleMode") == 1);
|
||||||
result.success(new HashMap<String, Object>());
|
result.success(new HashMap<String, Object>());
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue