Skip to content

deps: Upgrade video_player_android to 2.7.8 #983

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

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

rajveermalviya
Copy link
Member

Changelog:
https://pub.dev/packages/video_player_android/changelog

This update addresses a few bug fixes, including the removal of a flag that treats warnings as errors. Without this fix, Android builds fail in Android Studio 2024.2, which uses Java 21, with the following error:

…
warning: [options] source value 8 is obsolete and will be removed in a future release
warning: [options] target value 8 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
error: warnings found and -Werror specified

With this update the warnings still stay, but are ignored by build system resulting in a successful build.

@rajveermalviya rajveermalviya added the maintainer review PR ready for review by Zulip maintainers label Oct 4, 2024
@chrisbobbe chrisbobbe self-assigned this Oct 5, 2024
@chrisbobbe chrisbobbe self-requested a review October 5, 2024 02:48
Copy link
Collaborator

@chrisbobbe chrisbobbe left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! Marking for Greg's review.

@chrisbobbe chrisbobbe added integration review Added by maintainers when PR may be ready for integration and removed maintainer review PR ready for review by Zulip maintainers labels Oct 5, 2024
@chrisbobbe chrisbobbe assigned gnprice and unassigned chrisbobbe Oct 5, 2024
@chrisbobbe chrisbobbe requested a review from gnprice October 5, 2024 02:51
Changelog:
  https://pub.dev/packages/video_player_android/changelog

This update addresses a few bug fixes, including the removal of a flag
that treats warnings as errors. Without this fix, Android builds fail
in Android Studio 2024.2, which uses Java 21, with the
following error:
  warning: [options] source value 8 is obsolete and will be removed in a future release
  warning: [options] target value 8 is obsolete and will be removed in a future release
  warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
  error: warnings found and -Werror specified

With this update the warnings still stay, but are ignored by build
system resulting in a successful build.

[Greg adds: the changelog shows one potentially user-facing bug fix,
when reopening the app from the background while a video was playing;
but I couldn't reproduce that issue in our app.]
@gnprice
Copy link
Member

gnprice commented Oct 7, 2024

Thanks! Looks good; merging.

From the package's changelog, it looks like there's one potentially user-facing bug this fixes:

I couldn't reproduce that in our app on a quick attempt, though, so it might not affect us for some reason. Anyway, added a quick note about it to the commit message.

@gnprice gnprice merged commit a435083 into zulip:main Oct 7, 2024
@rajveermalviya rajveermalviya deleted the pr-java-21-fix branch October 8, 2024 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration review Added by maintainers when PR may be ready for integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants