[Android] Use PlaybackService to access MediaPlayer and MediaList

Thomas Guillem git at videolan.org
Wed Jul 1 15:14:31 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jun 29 14:35:36 2015 +0200| [635447b0166cbcb584a03af44e6382534091c4b0] | committer: Thomas Guillem

Use PlaybackService to access MediaPlayer and MediaList

Remove static MediaPlayer and MediaWrapperListPlayer.

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

 .../org/videolan/vlc/MediaWrapperListPlayer.java   |  121 -----
 .../src/org/videolan/vlc/PlaybackService.java      |  477 +++++++++++++++-----
 .../videolan/vlc/RemoteControlClientReceiver.java  |   11 +-
 .../videolan/vlc/gui/PlaybackServiceFragment.java  |   35 +-
 .../org/videolan/vlc/gui/PreferencesActivity.java  |    5 +-
 .../vlc/gui/audio/AudioBrowserFragment.java        |    1 +
 .../org/videolan/vlc/gui/audio/AudioPlayer.java    |   10 +-
 .../videolan/vlc/gui/audio/EqualizerFragment.java  |   27 +-
 .../vlc/gui/browser/BaseBrowserFragment.java       |    4 +-
 .../videolan/vlc/gui/dialogs/AdvOptionsDialog.java |   75 ++-
 .../videolan/vlc/gui/dialogs/AudioDelayDialog.java |   21 +-
 .../videolan/vlc/gui/dialogs/JumpToTimeDialog.java |   36 +-
 .../videolan/vlc/gui/dialogs/PickTimeFragment.java |   51 ++-
 .../videolan/vlc/gui/dialogs/SubsDelayDialog.java  |   16 +-
 .../vlc/gui/dialogs/TimePickerDialogFragment.java  |   40 +-
 .../videolan/vlc/gui/video/VideoGridFragment.java  |    9 +-
 .../vlc/gui/video/VideoPlayerActivity.java         |  206 ++++-----
 vlc-android/src/org/videolan/vlc/util/Util.java    |    3 +
 .../src/org/videolan/vlc/util/VLCInstance.java     |   19 +-
 .../org/videolan/vlc/gui/tv/MainTvActivity.java    |   22 +-
 .../vlc/gui/tv/MediaItemDetailsFragment.java       |    9 +-
 .../gui/tv/audioplayer/AudioPlayerActivity.java    |    6 +-
 22 files changed, 725 insertions(+), 479 deletions(-)

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


More information about the Android mailing list