Skip to content

Conversation

matanlurey
Copy link
Contributor

Closes flutter/flutter#154602.

I also added small clarifications to the error in video_player (an assertion/error that are better than a Completer.complete default error) and updated the documentation in video_player_platform (it might have been obvious, but it definitely is now).

Copy link
Member

@gmackall gmackall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not super knowledgable about this plugin, but the change lgtm!

@matanlurey matanlurey removed the request for review from camsim99 September 30, 2024 18:42
Copy link
Contributor

@tarrinneal tarrinneal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. One "nit" which I don't really care if you change, just curious what your thoughts about it are :)

this(exoPlayer, events, false);
}

ExoPlayerEventListener(ExoPlayer exoPlayer, VideoPlayerCallbacks events, boolean wasInitialized) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe there is a design guide somewhere that disagrees, but doesn't was imply in the past and (usually) no longer? is is not more appropriate? Not a huge deal either way.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I think this was a poor word choice on my part, I'd be happy to rename this isInitialized or even initialized for consistency. Let me do that before merging.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@matanlurey matanlurey added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 2, 2024
@auto-submit auto-submit bot merged commit aeecebc into main Oct 2, 2024
76 checks passed
@auto-submit auto-submit bot deleted the video-player-android-background-orama branch October 2, 2024 17:49
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 2, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 2, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 2, 2024
flutter/packages@ebcc4f0...7c97c88

2024-10-02 [email protected] [file_selector] Convert Linux to Pigeon (flutter/packages#7770)
2024-10-02 [email protected] Background/resuming `video_player` on Android sends one `initialized` event (flutter/packages#7722)
2024-10-02 [email protected] [quick_actions_android] Update instructions for using a launcher activity with more breadcrumbs (flutter/packages#7716)
2024-10-01 [email protected] Add flutter frame timings to benchmark metrics (flutter/packages#7759)
2024-10-01 [email protected] [local_auth] Update Pigeon in iOS and Android (flutter/packages#7724)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: video_player platform-android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception on the video player after the app opens from the background
3 participants