[Android] Stop all background processing when the MainActivity is not active

Ludovic Fauvet git at videolan.org
Fri Sep 28 20:28:30 CEST 2012


vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Fri Sep 28 19:52:50 2012 +0200| [9c51cfde7cfd726766fc8cab94e23437a8e6c84f] | committer: Ludovic Fauvet

Stop all background processing when the MainActivity is not active

This includes thumbnails and media scanner.

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

 vlc-android/src/org/videolan/vlc/MediaLibrary.java |  173 +++++++++++---------
 .../src/org/videolan/vlc/ThumbnailerManager.java   |   32 +++-
 .../src/org/videolan/vlc/gui/MainActivity.java     |    3 +
 .../videolan/vlc/gui/video/VideoListFragment.java  |    9 +-
 4 files changed, 130 insertions(+), 87 deletions(-)

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


More information about the Android mailing list