media/library
ibaker 37fd65a8e5 Fix recursive loop when registering controller visibility listeners
There are two overloads of this method due to a type 'rename' from
`PlayerControlView.VisibilityListener` to
`PlayerView.ControllerVisibilityListener`. Currently when you call one
overload it passes `null` to the other one (to clear the other listener).
Unfortunately this results in it clearing itself, because it receives
a null call back!

This change tweaks the documentation to clarify that the 'other'
listener is only cleared if you pass a non-null listener in. This solves
the recursive problem, and allows the 'legacy' visibility listener to be
successfully registered.

Issue: androidx/media#229

#minor-release

PiperOrigin-RevId: 496876397
2022-12-21 17:57:57 +00:00
..
all Fix minimum API level issue 2022-02-08 11:03:36 +00:00
common Add error messages to correctness assertions in SimpleBasePlayer 2022-12-21 17:54:00 +00:00
core Support previewing HDR on API33+ 2022-12-21 16:28:37 +00:00
dash Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 16:12:02 +00:00
database Reformat some javadoc 2022-02-18 15:02:33 +00:00
datasource Deprecate C.POSITION_UNSET in favour of C.INDEX_UNSET 2022-12-12 12:24:50 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:25:46 +01:00
effect Simplify concurrency in FrameProcessingTaskExecutor 2022-12-21 17:38:25 +00:00
extractor Temporal fix to allow proper library shrinking. 2022-12-12 12:29:06 +00:00
hls Refactor transformation completion 2022-11-21 14:27:00 +00:00
rtsp Add javadoc links to README files 2022-12-12 13:07:19 +00:00
smoothstreaming Add missing IntDef on MediaSource.Factory.getSupportedTypes overrides 2022-11-10 16:12:02 +00:00
transformer Simplify AssetLoader.Listener interface 2022-12-21 17:50:04 +00:00
ui Fix recursive loop when registering controller visibility listeners 2022-12-21 17:57:57 +00:00
README.md Update to androidx.media3 2021-10-27 09:12:46 +01:00

ExoPlayer library

The ExoPlayer library is split into multiple modules. See ExoPlayer's top level README for more information about the available library modules and how to use them.