[Android] Audio: Always update FAB visibility

Geoffrey Métais git at videolan.org
Tue Feb 19 17:42:20 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 19 17:28:05 2019 +0100| [49a5ed0142f5938a7ca5c36a922b896bedcc4aa6] | committer: Geoffrey Métais

Audio: Always update FAB visibility

> https://code.videolan.org/videolan/vlc-android/commit/49a5ed0142f5938a7ca5c36a922b896bedcc4aa6
---

 gradle.properties                                                    | 2 +-
 vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gradle.properties b/gradle.properties
index c791eda7f..1f367d018 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,4 +1,4 @@
 android.enableJetifier=true
 android.useAndroidX=true
 android.enableR8=false
-
+android.enableSeparateAnnotationProcessing=true
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 12ac57bbc..a871fdbed 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -320,7 +320,7 @@ public class AudioBrowserFragment extends BaseAudioBrowser implements SwipeRefre
             mSwipeRefreshLayout.setEnabled(((LinearLayoutManager)getCurrentRV().getLayoutManager()).findFirstVisibleItemPosition() <= 0);
             updateEmptyView();
             mFastScroller.setRecyclerView(getCurrentRV(), getViewModel());
-        }
+        } else setFabPlayShuffleAllVisibility();
     }
 
     @Override



More information about the Android mailing list