[Android] Fix progressBar not shown

Geoffrey Métais git at videolan.org
Mon Dec 15 12:23:46 CET 2014


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Dec 15 12:22:54 2014 +0100| [6fe3af0ea93525f5585e61a9054a59b443e214c8] | committer: Geoffrey Métais

Fix progressBar not shown

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

 .../org/videolan/vlc/gui/video/VideoGridFragment.java  |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
index e03d71c..1f091d5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -457,16 +457,24 @@ public class VideoGridFragment extends SherlockGridFragment implements IBrowser,
     }
 
     @Override
-    public void showProgressBar() {}
+    public void showProgressBar() {
+        MainActivity.showProgressBar();
+    }
 
     @Override
-    public void hideProgressBar() {}
+    public void hideProgressBar() {
+        MainActivity.hideProgressBar();
+    }
 
     @Override
-    public void clearTextInfo() {}
+    public void clearTextInfo() {
+        MainActivity.clearTextInfo();
+    }
 
     @Override
-    public void sendTextInfo(String info, int progress, int max) { }
+    public void sendTextInfo(String info, int progress, int max) {
+        MainActivity.sendTextInfo(info, progress, max);
+    }
 
     @Override
     public void sortBy(int sortby) {



More information about the Android mailing list