[Android] Use mediasession for Notification controls
Geoffrey Métais
git at videolan.org
Wed Apr 4 18:36:22 CEST 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 4 16:21:26 2018 +0200| [32062551aa188a23c0bb58d446c752b44a42c1e7] | committer: Geoffrey Métais
Use mediasession for Notification controls
Playback notification can now persist despite VLC being wiped out
> https://code.videolan.org/videolan/vlc-android/commit/32062551aa188a23c0bb58d446c752b44a42c1e7
---
vlc-android/AndroidManifest.xml | 5 +-
vlc-android/res/xml/preferences_audio.xml | 6 -
.../src/org/videolan/vlc/PlaybackService.java | 57 +++-------
.../videolan/vlc/RemoteControlClientReceiver.java | 125 ---------------------
.../src/org/videolan/vlc/VLCApplication.java | 3 -
.../vlc/gui/helpers/NotificationHelper.java | 40 +++++--
.../vlc/gui/preferences/PreferencesAudio.java | 3 -
.../vlc/gui/tv/preferences/PreferencesAudio.java | 1 -
.../src/org/videolan/vlc/media/MediaUtils.java | 11 ++
.../src/org/videolan/vlc/media/PlaylistManager.kt | 2 +-
.../src/org/videolan/vlc/util/AndroidDevices.java | 10 --
11 files changed, 58 insertions(+), 205 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/32062551aa188a23c0bb58d446c752b44a42c1e7
More information about the Android
mailing list