[Android] PlaybackService: use local binder, no more aidl
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> | Fri Jun 26 16:18:30 2015 +0200| [b5fb368b8f529de6b95b3ba46a9a7178e6e42bd2] | committer: Thomas Guillem
PlaybackService: use local binder, no more aidl
Add 2 utility class:
- PlaybackServiceActivity: bind and unbind to the service on start/stop
- PlaybackServiceFragment: get the mService from the PlaybackServiceActivity
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=b5fb368b8f529de6b95b3ba46a9a7178e6e42bd2
---
vlc-android/src/org/videolan/vlc/MediaWrapper.aidl | 23 -
.../src/org/videolan/vlc/PlaybackService.java | 835 +++++++++---------
.../org/videolan/vlc/PlaybackServiceClient.java | 893 --------------------
.../vlc/gui/AudioPlayerContainerActivity.java | 40 +-
.../src/org/videolan/vlc/gui/HistoryAdapter.java | 34 +-
.../src/org/videolan/vlc/gui/HistoryFragment.java | 4 +-
.../videolan/vlc/gui/PlaybackServiceActivity.java | 127 +++
.../videolan/vlc/gui/PlaybackServiceFragment.java | 79 ++
.../org/videolan/vlc/gui/PreferencesActivity.java | 35 +-
.../videolan/vlc/gui/audio/AudioAlbumFragment.java | 16 +-
.../vlc/gui/audio/AudioAlbumsSongsFragment.java | 25 +-
.../vlc/gui/audio/AudioBrowserFragment.java | 36 +-
.../org/videolan/vlc/gui/audio/AudioPlayer.java | 157 ++--
.../vlc/gui/browser/BaseBrowserFragment.java | 7 +-
.../vlc/gui/browser/MediaBrowserFragment.java | 4 +-
.../videolan/vlc/gui/video/VideoGridFragment.java | 19 +-
.../vlc/gui/video/VideoPlayerActivity.java | 62 +-
.../videolan/vlc/interfaces/IPlaybackService.aidl | 69 --
.../vlc/interfaces/IPlaybackServiceCallback.aidl | 29 -
vlc-android/src/org/videolan/vlc/util/Util.java | 48 +-
.../videolan/vlc/widget/AudioMediaSwitcher.java | 30 +-
.../org/videolan/vlc/gui/tv/DetailsActivity.java | 4 +-
.../org/videolan/vlc/gui/tv/MainTvActivity.java | 3 +-
.../vlc/gui/tv/MediaItemDetailsFragment.java | 54 +-
.../gui/tv/audioplayer/AudioPlayerActivity.java | 95 +--
.../vlc/gui/tv/browser/VerticalGridActivity.java | 4 +-
26 files changed, 986 insertions(+), 1746 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commitdiff;h=b5fb368b8f529de6b95b3ba46a9a7178e6e42bd2
More information about the Android
mailing list