[Android] Switch to MediaSessionCompat

Geoffrey Métais git at videolan.org
Fri Oct 23 13:44:07 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Oct 21 11:52:33 2015 +0200| [a2ef2dbcc3a7b4fac10d5b73ddd073d6110f6093] | committer: Geoffrey Métais

Switch to MediaSessionCompat

Handles RemoteControlClient + MediaSession frameworks at once
Notification switched to MediaStyle template, no need for custom layouts
anymore

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=a2ef2dbcc3a7b4fac10d5b73ddd073d6110f6093
---

 vlc-android/res/layout/notification.xml            |   75 ------
 vlc-android/res/layout/notification_expanded.xml   |  108 ---------
 .../src/org/videolan/vlc/PlaybackService.java      |  247 ++++++++++++--------
 3 files changed, 146 insertions(+), 284 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commitdiff;h=a2ef2dbcc3a7b4fac10d5b73ddd073d6110f6093


More information about the Android mailing list