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
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| BitmapLoader.java | Loading commit data... | |
| CacheBitmapLoader.java | Loading commit data... | |
| CommandButton.java | Loading commit data... | |
| ConnectedControllersManager.java | Loading commit data... | |
| ConnectionRequest.java | Loading commit data... | |
| ConnectionState.java | Loading commit data... | |
| DefaultActionFactory.java | Loading commit data... | |
| DefaultMediaNotificationProvider.java | Loading commit data... | |
| LibraryResult.java | Loading commit data... | |
| MediaBrowser.java | Loading commit data... | |
| MediaBrowserImplBase.java | Loading commit data... | |
| MediaBrowserImplLegacy.java | Loading commit data... | |
| MediaConstants.java | Loading commit data... | |
| MediaController.java | Loading commit data... | |
| MediaControllerHolder.java | Loading commit data... | |
| MediaControllerImplBase.java | Loading commit data... | |
| MediaControllerImplLegacy.java | Loading commit data... | |
| MediaControllerStub.java | Loading commit data... | |
| MediaLibraryService.java | Loading commit data... | |
| MediaLibraryServiceLegacyStub.java | Loading commit data... | |
| MediaLibrarySessionImpl.java | Loading commit data... | |
| MediaNotification.java | Loading commit data... | |
| MediaNotificationManager.java | Loading commit data... | |
| MediaSession.java | Loading commit data... | |
| MediaSessionImpl.java | Loading commit data... | |
| MediaSessionLegacyStub.java | Loading commit data... | |
| MediaSessionService.java | Loading commit data... | |
| MediaSessionServiceLegacyStub.java | Loading commit data... | |
| MediaSessionStub.java | Loading commit data... | |
| MediaStyleNotificationHelper.java | Loading commit data... | |
| MediaUtils.java | Loading commit data... | |
| PlayerInfo.java | Loading commit data... | |
| PlayerWrapper.java | Loading commit data... | |
| QueueTimeline.java | Loading commit data... | |
| SequencedFutureManager.java | Loading commit data... | |
| SessionCommand.java | Loading commit data... | |
| SessionCommands.java | Loading commit data... | |
| SessionPositionInfo.java | Loading commit data... | |
| SessionResult.java | Loading commit data... | |
| SessionToken.java | Loading commit data... | |
| SessionTokenImplBase.java | Loading commit data... | |
| SessionTokenImplLegacy.java | Loading commit data... | |
| SimpleBitmapLoader.java | Loading commit data... | |
| package-info.java | Loading commit data... |