When the player finishes playback and reaches the STATE_ENDED, the notification remains visible with a pause button and the service is kept in the foreground. This is a bug. With this change, when the player reaches the STATE_ENDED, the service is stopped from the foreground and a notification is shown with a play button. If the play icon is tapped, the player will restart playback of the last played item. Playing the last played item again is the existing behavior when play/pause commands are received from the legacy MediaSession (e.g. BT headset buttons). #minor-release Issue: google/ExoPlayer#112 PiperOrigin-RevId: 467231509
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| BitmapLoader.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... |