[Android] Use updated search method

Geoffrey Métais git at videolan.org
Mon Mar 9 15:58:15 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Mar  9 11:46:53 2015 +0100| [94c922cbec85011fca9b9f4a67fa8799fe7ac399] | committer: Geoffrey Métais

Use updated search method

Fix TV build

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

 vlc-android/tv/src/org/videolan/vlc/gui/tv/SearchFragment.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/tv/src/org/videolan/vlc/gui/tv/SearchFragment.java b/vlc-android/tv/src/org/videolan/vlc/gui/tv/SearchFragment.java
index a39175e..58cf8a1 100644
--- a/vlc-android/tv/src/org/videolan/vlc/gui/tv/SearchFragment.java
+++ b/vlc-android/tv/src/org/videolan/vlc/gui/tv/SearchFragment.java
@@ -85,7 +85,7 @@ public class SearchFragment extends android.support.v17.leanback.app.SearchFragm
     }
 
     private void loadRows(String query, int type) {
-        ArrayList<MediaWrapper> mediaList = MediaLibrary.getInstance().searchMedia(query, type);
+        ArrayList<MediaWrapper> mediaList = MediaLibrary.getInstance().searchMedia(query);
         final ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new CardPresenter(mActivity));
         listRowAdapter.addAll(0, mediaList);
         mHandler.post(new Runnable() {



More information about the Android mailing list