Skip to content

Commit 522682f

Browse files
committed
Use the clientHandler
1 parent 96170d3 commit 522682f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/ryanheise/audioservice/AudioServicePlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ public void onMethodCall(MethodCall call, Result result) {
580580
if (silenceAudioTrack != null)
581581
silenceAudioTrack.release();
582582
backgroundFlutterView = null;
583-
invokeMethod("onStopped");
583+
clientHandler.invokeMethod("onStopped");
584584
result.success(true);
585585
break;
586586
case "notifyChildrenChanged":

0 commit comments

Comments
 (0)