[Android] Always refresh in TV browsing
Geoffrey Métais
git at videolan.org
Fri Jul 17 16:56:20 CEST 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jul 17 16:56:00 2015 +0200| [addb15c55710aef105c1ad526ec09ba9839f1f99] | committer: Geoffrey Métais
Always refresh in TV browsing
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=addb15c55710aef105c1ad526ec09ba9839f1f99
---
.../tv/src/org/videolan/vlc/gui/tv/browser/MusicFragment.java | 2 +-
.../tv/src/org/videolan/vlc/gui/tv/browser/VideoGridFragment.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/tv/src/org/videolan/vlc/gui/tv/browser/MusicFragment.java b/vlc-android/tv/src/org/videolan/vlc/gui/tv/browser/MusicFragment.java
index 54ec8f5..590bef1 100644
--- a/vlc-android/tv/src/org/videolan/vlc/gui/tv/browser/MusicFragment.java
+++ b/vlc-android/tv/src/org/videolan/vlc/gui/tv/browser/MusicFragment.java
@@ -83,7 +83,7 @@ public class MusicFragment extends MediaLibBrowserFragment {
public void onResume() {
super.onResume();
- if (mAdapter.size() == 0 && mUpdater == null) {
+ if (mUpdater == null) {
mUpdater = new AsyncAudioUpdate();
mUpdater.execute();
}
diff --git a/vlc-android/tv/src/org/videolan/vlc/gui/tv/browser/VideoGridFragment.java b/vlc-android/tv/src/org/videolan/vlc/gui/tv/browser/VideoGridFragment.java
index 57596c8..66635b1 100644
--- a/vlc-android/tv/src/org/videolan/vlc/gui/tv/browser/VideoGridFragment.java
+++ b/vlc-android/tv/src/org/videolan/vlc/gui/tv/browser/VideoGridFragment.java
@@ -53,7 +53,7 @@ public class VideoGridFragment extends MediaLibBrowserFragment implements IVideo
public void onResume() {
super.onResume();
mMediaLibrary.addUpdateHandler(mHandler);
- if (mAdapter.size() == 0 && mUpdater == null) {
+ if (mUpdater == null) {
mUpdater = new AsyncVideoUpdate();
mUpdater.execute();
}
More information about the Android
mailing list