Skip to content

Commit fe0a3a0

Browse files
authored
Add a @SuppressWarnings in advance (#7712)
... to avoid a revert like flutter/engine#55450. /cc @jtmcdole another example of churn where I can't do the right thing without manual steps.
1 parent f38b780 commit fe0a3a0

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

packages/video_player/video_player_android/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.7.5
2+
3+
* Add a deprecation suppression in advance of a new `SurfaceProducer` API.
4+
15
## 2.7.4
26

37
* Fixes a [bug](https://github.com/flutter/flutter/issues/154559) where

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ interface ExoPlayerProvider {
8585
}
8686

8787
@RestrictTo(RestrictTo.Scope.LIBRARY)
88+
// TODO(matanlurey): https://github.com/flutter/flutter/issues/155131.
89+
@SuppressWarnings({"deprecation", "removal"})
8890
public void onSurfaceCreated() {
8991
if (savedStateDuring != null) {
9092
exoPlayer = createVideoPlayer();

packages/video_player/video_player_android/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: video_player_android
22
description: Android implementation of the video_player plugin.
33
repository: https://github.com/flutter/packages/tree/main/packages/video_player/video_player_android
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
5-
version: 2.7.4
5+
version: 2.7.5
66

77
environment:
88
sdk: ^3.5.0

0 commit comments

Comments
 (0)