[Android] squash

Geoffrey Métais git at videolan.org
Tue May 12 16:39:18 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue May 12 16:25:06 2015 +0200| [b71e37aa378dc0156671014d318f1fb79ee0230c] | committer: Geoffrey Métais

squash

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

 .../src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java        |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
index 2518e17..e420651 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserAdapter.java
@@ -35,6 +35,7 @@ import org.videolan.libvlc.Media;
 import org.videolan.vlc.MediaDatabase;
 import org.videolan.vlc.MediaWrapper;
 import org.videolan.vlc.R;
+import org.videolan.vlc.VLCApplication;
 import org.videolan.vlc.gui.audio.MediaComparators;
 import org.videolan.vlc.util.CustomDirectories;
 import org.videolan.vlc.util.Strings;
@@ -65,7 +66,7 @@ public class BaseBrowserAdapter extends  RecyclerView.Adapter<RecyclerView.ViewH
 
     public BaseBrowserAdapter(BaseBrowserFragment fragment){
         this.fragment = fragment;
-        mEmptyDirectoryString = fragment.getString(R.string.directory_empty);
+        mEmptyDirectoryString = VLCApplication.getAppResources().getString(R.string.directory_empty);
     }
 
     @Override



More information about the Android mailing list