mirror of
https://github.com/samsonjs/media.git
synced 2026-03-28 09:55:48 +00:00
`MediaControllerImplBase` has 2 methods for updating listeners about `PlayerInfo` changes - `updatePlayerInfo` (for masking the state) and `onPlayerInfoChanged` (when communicating with the session). There is a set number of listener callbacks related to `PlayerInfo` updates and both methods should go through the same control flow (whether we know that masking will ignore most of them or not). A unified method `notifyPlayerInfoListenersWithReasons` encapsulates only the shared logic of 2 methods - listeners' callbacks. This ensures that both methods call them in the same order and none are missed out. PiperOrigin-RevId: 542587879 |
||
|---|---|---|
| .. | ||
| aidl/androidx/media3/session | ||
| java/androidx/media3/session | ||
| res | ||
| AndroidManifest.xml | ||