-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Background/resuming video_player
on Android sends one initialized
event
#7722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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!
There was a problem hiding this 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) { |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
flutter/packages@ebcc4f0...7c97c88 2024-10-02 stuartmorgan@google.com [file_selector] Convert Linux to Pigeon (flutter/packages#7770) 2024-10-02 matanlurey@users.noreply.github.com Background/resuming `video_player` on Android sends one `initialized` event (flutter/packages#7722) 2024-10-02 43054281+camsim99@users.noreply.github.com [quick_actions_android] Update instructions for using a launcher activity with more breadcrumbs (flutter/packages#7716) 2024-10-01 43759233+kenzieschmoll@users.noreply.github.com Add flutter frame timings to benchmark metrics (flutter/packages#7759) 2024-10-01 stuartmorgan@google.com [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 flutter-ecosystem@google.com 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
Closes flutter/flutter#154602.
I also added small clarifications to the error in
video_player
(an assertion/error that are better than aCompleter.complete
default error) and updated the documentation invideo_player_platform
(it might have been obvious, but it definitely is now).