[Android] Properly clear refreshing message in audio view

Geoffrey Métais git at videolan.org
Tue May 30 10:49:11 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue May 30 10:48:06 2017 +0200| [95e33651986e310485f7285ff278e4397024a20d] | committer: Geoffrey Métais

Properly clear refreshing message in audio view

> https://code.videolan.org/videolan/vlc-android/commit/95e33651986e310485f7285ff278e4397024a20d
---

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

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 23dd0960e..65d6ad701 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -690,6 +690,7 @@ public class AudioBrowserFragment extends BaseAudioBrowser implements SwipeRefre
                 fragment.mSwipeRefreshLayout.setRefreshing(true);
                 break;
             case UNSET_REFRESHING:
+                removeMessages(SET_REFRESHING);
                 fragment.mSwipeRefreshLayout.setRefreshing(false);
                 break;
             case UPDATE_EMPTY_VIEW:



More information about the Android mailing list