Skip to content

Commit 552c35a

Browse files
authored
Fix analysis issues in the video_player plugin Android code (flutter#291)
1 parent 72becca commit 552c35a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/video_player/android/src/main/java/io/flutter/videoplayer/VideoPlayerPlugin.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@
2525
import java.util.Map;
2626

2727
public class VideoPlayerPlugin implements MethodCallHandler {
28-
private class VideoPlayer {
28+
private static class VideoPlayer {
2929
private final TextureRegistry.SurfaceTextureEntry textureEntry;
3030
private final MediaPlayer mediaPlayer;
3131
private EventChannel.EventSink eventSink;
3232
private final EventChannel eventChannel;
33-
private boolean isPlaying = false;
3433
private boolean isInitialized = false;
3534

3635
@TargetApi(21)

0 commit comments

Comments
 (0)