Make setAutomaticallyWaitsToMinimizeStalling noop on Android

This commit is contained in:
Ryan Heise 2020-04-18 17:00:52 +10:00
parent 5e9a707e08
commit 835c422ee1
1 changed files with 3 additions and 0 deletions

View File

@ -196,6 +196,9 @@ public class AudioPlayer implements MethodCallHandler, Player.EventListener {
setSpeed((float)((double)((Double)args.get(0)))); setSpeed((float)((double)((Double)args.get(0))));
result.success(null); result.success(null);
break; break;
case "setAutomaticallyWaitsToMinimizeStalling":
result.success(null);
break;
case "seek": case "seek":
Object position = args.get(0); Object position = args.get(0);
if (position instanceof Integer) { if (position instanceof Integer) {