[Android] Refactor PlaybackService

Geoffrey Métais git at videolan.org
Fri Jan 26 15:16:44 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Nov  6 17:37:25 2017 +0100| [b17b0a169a62e6d0069e9d8bc4d48ac7d610bdfd] | committer: Geoffrey Métais

Refactor PlaybackService

Add a PlaylistManager and a PlayerController to split code and
responsibilities

> https://code.videolan.org/videolan/vlc-android/commit/b17b0a169a62e6d0069e9d8bc4d48ac7d610bdfd
---

 libvlc/src/org/videolan/libvlc/MediaPlayer.java    |    5 +-
 .../src/org/videolan/vlc/PlaybackService.java      | 1319 ++++----------------
 .../vlc/gui/preferences/PreferencesActivity.java   |    3 +-
 .../vlc/gui/video/VideoPlayerActivity.java         |   25 +-
 .../src/org/videolan/vlc/media/MediaUtils.java     |   21 +
 .../org/videolan/vlc/media/MediaWrapperList.java   |    4 +-
 .../src/org/videolan/vlc/media/PlayerController.kt |  242 ++++
 .../src/org/videolan/vlc/media/PlaylistManager.kt  |  666 ++++++++++
 .../src/org/videolan/vlc/util/Extensions.kt        |   26 +
 9 files changed, 1214 insertions(+), 1097 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/b17b0a169a62e6d0069e9d8bc4d48ac7d610bdfd


More information about the Android mailing list