[Android] Fix crash when fastscroller is initialized with missing data.

Nicolas Pomepuy git at videolan.org
Thu Feb 14 14:15:52 CET 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Thu Feb 14 11:00:21 2019 +0100| [7699f700810f94444eceb4a7b10b9442c0c19d54] | committer: Geoffrey Métais

Fix crash when fastscroller is initialized with missing data.

> https://code.videolan.org/videolan/vlc-android/commit/7699f700810f94444eceb4a7b10b9442c0c19d54
---

 vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java | 1 -
 1 file changed, 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 8acd6d52f..1e76e1ffe 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -150,7 +150,6 @@ public class AudioBrowserFragment extends BaseAudioBrowser implements SwipeRefre
         }
         mViewPager.setOnTouchListener(mSwipeFilter);
         mSwipeRefreshLayout.setOnRefreshListener(this);
-        mFastScroller.setRecyclerView(mLists[tabPosition], models[tabPosition]);
     }
 
     @Override



More information about the Android mailing list