media/libraries
ibaker 7d3375c6ec 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
(cherry picked from commit 4087a011e2)
2023-01-25 18:17:16 +00:00
..
cast Clarify behavior for out-of-bounds indices and align implementations 2023-01-25 18:17:15 +00:00
common Add error messages to correctness assertions in SimpleBasePlayer 2023-01-25 18:17:16 +00:00
database Add javadoc links to README files 2023-01-25 18:01:21 +00:00
datasource Add javadoc links to README files 2023-01-25 18:01:21 +00:00
datasource_cronet Add javadoc links to README files 2023-01-25 18:01:21 +00:00
datasource_okhttp Add javadoc links to README files 2023-01-25 18:01:21 +00:00
datasource_rtmp Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder_av1 Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder_ffmpeg Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder_flac Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder_opus Add javadoc links to README files 2023-01-25 18:01:21 +00:00
decoder_vp9 Add javadoc links to README files 2023-01-25 18:01:21 +00:00
effect Add javadoc links to README files 2023-01-25 18:01:21 +00:00
exoplayer Check if codec still exists before handling tunneling events 2023-01-25 18:17:15 +00:00
exoplayer_dash Add javadoc links to README files 2023-01-25 18:01:21 +00:00
exoplayer_hls Add javadoc links to README files 2023-01-25 18:01:21 +00:00
exoplayer_ima Add javadoc links to README files 2023-01-25 18:01:21 +00:00
exoplayer_rtsp Add javadoc links to README files 2023-01-25 18:01:21 +00:00
exoplayer_smoothstreaming Add javadoc links to README files 2023-01-25 18:01:21 +00:00
exoplayer_workmanager Add javadoc links to README files 2023-01-25 18:01:21 +00:00
extractor Add javadoc links to README files 2023-01-25 18:01:21 +00:00
session Add BitmapLoader injection in MediaController 2023-01-25 18:17:16 +00:00
test_data Merge pull request #10750 from Stronger197:subrip_utf_16 2023-01-25 17:50:39 +00:00
test_exoplayer_playback Fix instrumentation tests not working via Gradle 2022-09-20 15:25:38 +00:00
test_session_common Migrate BROWSER_ROOT_HINTS_KEY_ROOT_CHILDREN_SUPPORTED_FLAGS to Media3 2023-01-25 17:38:34 +00:00
test_session_current Add BitmapLoader injection in MediaController 2023-01-25 18:17:16 +00:00
test_utils Forward seek command details to seekTo method in BasePlayer 2023-01-25 18:17:15 +00:00
test_utils_robolectric Remove debug timeout multiplier. 2023-01-25 18:17:14 +00:00
transformer Add javadoc links to README files 2023-01-25 18:01:21 +00:00
ui Fix recursive loop when registering controller visibility listeners 2023-01-25 18:17:16 +00:00
ui_leanback Fix Dackka error due to param name mismatch 2023-01-25 18:17:16 +00:00