-
Exclude tracks from `PlayerInfo` if not changed · 20e54a82
This change includes a change in the `IMediaController.aidl` file and needs to provide backwards compatibility for when a client connects that is of an older or newer version of the current service implementation. This CL proposes to create a new AIDL method `onPlayerInfoChangedWithExtensions` that is easier to extend in the future because it does use an `Bundle` rather than primitives. A `Bundle` can be changed in a backward/forwards compatible way in case we need further changes. The compatibility handling is provided in `MediaSessionStub` and `MediaControllerStub`. The approach is not based on specific AIDL/Binder features but implemented fully in application code. Issue: androidx/media#102 #minor-release PiperOrigin-RevId: 490483068 (cherry picked from commit f262e913)
bachinger committed
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| src | Loading commit data... | |
| README.md | Loading commit data... | |
| build.gradle | Loading commit data... | |
| lint-baseline.xml | Loading commit data... | |
| proguard-rules.txt | Loading commit data... |