[Android] Audio browser: remove useless call to updateLists()

Adrien Maglo git at videolan.org
Thu Nov 28 16:27:10 CET 2013


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Thu Nov 28 16:18:59 2013 +0100| [c968da6b1b55d6db6e6592adfdca81f52602def8] | committer: Adrien Maglo

Audio browser: remove useless call to updateLists()

Actually, the lists are really filled when the MediaLibrary sends its MEDIA_ITEMS_UPDATED message.

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
index 04883ed..e302f83 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -155,7 +155,7 @@ public class AudioBrowserFragment extends SherlockFragment implements ISortable
         super.onResume();
         mFlingViewGroup.setPosition(mFlingViewPosition);
         mHeader.highlightTab(-1, mFlingViewPosition);
-        updateLists();
+        //updateLists();
         mMediaLibrary.addUpdateHandler(mHandler);
     }
 



More information about the Android mailing list