Skip to content

Commit 63a3f30

Browse files
committed
Fixes the failed test case.
1 parent 98fd674 commit 63a3f30

File tree

1 file changed

+1
-1
lines changed
  • packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private void disposeAllPlayers() {
105105
videoPlayers.clear();
106106
}
107107

108-
private void onDestroy() {
108+
public void onDestroy() {
109109
// The whole FlutterView is being destroyed. Here we release resources acquired for all
110110
// instances
111111
// of VideoPlayer. Once https://github.com/flutter/flutter/issues/19358 is resolved this may

0 commit comments

Comments
 (0)