Skip to content
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

r2.18.7 #11167

Merged
merged 14 commits into from
May 17, 2023
Merged

r2.18.7 #11167

merged 14 commits into from
May 17, 2023

Conversation

icbaker
Copy link
Collaborator

@icbaker icbaker commented May 17, 2023

No description provided.

microkatz and others added 14 commits May 15, 2023 15:39
If the limited number of input buffers causes reading of all samples except the last one conveying end of stream, then the last frame will not be rendered.

PiperOrigin-RevId: 525974445
(cherry picked from commit 7590228)
`prepare()` now logs a warning if it's called before `setPlayer()`
because it's not possible to tell if it's being called on the wrong
thread (since 9d028b3).

This change finds all the places one is called immediately after the
other and flips the order to be more correct.

Issue: androidx/media#350

#minor-release

PiperOrigin-RevId: 526582294
(cherry picked from commit aa4e008)
PiperOrigin-RevId: 527259619
(cherry picked from commit 062ccdf)
Issue: androidx/media#319
PiperOrigin-RevId: 527891646
(cherry picked from commit a9c8f2f)
PiperOrigin-RevId: 529069808
(cherry picked from commit 6c294ac)
This change:
* Adds missing `@OptIn` annotation to demo app's `ErrorMessageProvider`
* Switches from `Util.SDK_INT` to `Build.VERSION.SDK_INT` in
  `SampleChooserActivity` (`PlayerActivity` is already using this).

This code hasn't changed recently, and it doesn't fail on the `release`
branch, but it failed when I checked the `main` branch just now - so I
assume lint has updated to detect more cases where unstable APIs are
being used without opt-in. I suspect the difference is due to different
Android Gradle Plugin versions between the branches.

#minor-release

PiperOrigin-RevId: 529111669
(cherry picked from commit 5dbbff4)
#minor-release

PiperOrigin-RevId: 529742339
(cherry picked from commit c12fea7)
`VERSION_INT` is quite long with several sections, and it's easy to make
a mistake when updating it - this should help since it checks it against
`VERSION`, which is more easily human readable/writable.

PiperOrigin-RevId: 529747023
(cherry picked from commit 75cde0a)
PiperOrigin-RevId: 530935437
(cherry picked from commit be9bc32)
This was added in 75cde0a
but was accidentally exported to the exoplayer2 GitHub repo (where
`MediaLibraryInfo` is not present).

#minor-release

PiperOrigin-RevId: 531235570
(cherry picked from commit 3d4ebce)
The name was changed in 052c358
and this check wasn't updated, meaning publishing no longer worked
(it didn't publish anything, just printed lots of warnings like
`Skipping task ':test-utils-robolectric:publish' as it has no
actions.`). This change means the check is now using the same
source-of-truth as the root project name, so it shouldn't go out of
sync again.

PiperOrigin-RevId: 531457952
(cherry picked from commit eb14da5)
#minor-release

PiperOrigin-RevId: 532436786
(cherry picked from commit 0b0695a)
#minor-release

PiperOrigin-RevId: 532462895
(cherry picked from commit 6a401ad)
PiperOrigin-RevId: 532770925
(cherry picked from commit 937f3b5)
@icbaker icbaker self-assigned this May 17, 2023
@icbaker icbaker merged commit ac9d533 into release-v2 May 17, 2023
@icbaker icbaker deleted the release-v2-r2.18.7 branch May 17, 2023 16:35
@google google locked and limited conversation to collaborators Jul 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants