media/libraries
tonihei 2eab93d5c5 Make availableCommands known when bundling PlayerInfo
When bundling PlayerInfo, we remove data when the controller is not
allowed to access this data via getters. We also remove data for
performance reasons. In the toBundle() method, it's currently hard to
make the connection between allowed commands and filtering, because
the values are checked at a different place. This can be made more
readable by forwarding the applicable Commands directly.

The only functional fix is to filter the Timeline when sending the
first PlayerInfo after a connecting a controller if the command to
get the Timeline is not available. This also allows us to remove a
path to filter MediaItems from Timelines as it isn't used.

PiperOrigin-RevId: 502607391
(cherry picked from commit c90ca7ba5f)
2023-01-25 18:18:42 +00:00
..
cast Clarify behavior for out-of-bounds indices and align implementations 2023-01-25 18:17:15 +00:00
common Make availableCommands known when bundling PlayerInfo 2023-01-25 18:18:42 +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 Document that DownloadService needs notification permissions 2023-01-25 18:18:41 +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 Clarify what default settings are being used for SSAI AdsLoader 2023-01-25 18:18:42 +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 Throw a ParserException instead of a NullPointerException if the sample table (stbl) is missing a required sample description (stsd). 2023-01-25 18:17:17 +00:00
session Make availableCommands known when bundling PlayerInfo 2023-01-25 18:18:42 +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 Use onMediaMetadataChanged for updating the legacy session 2023-01-25 18:18:41 +00:00
test_session_current Filter what PlaybackStateCompat actions are advertised 2023-01-25 18:18:42 +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 Disables play/pause button when there's nothing to play 2023-01-25 18:18:42 +00:00
ui_leanback Fix Dackka error due to param name mismatch 2023-01-25 18:17:16 +00:00