-
Make availableCommands known when bundling PlayerInfo · 5461d5cb
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
tonihei committed
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| google/android/exoplayer2 | Loading commit data... |