[Android] Reset 'goback' variable once fragment is hidden
Geoffrey Métais
git at videolan.org
Tue Sep 26 16:35:40 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Sep 26 14:14:07 2017 +0200| [a8c3f03d7e64ea60fb160aff1599bfbc7f8403cd] | committer: Geoffrey Métais
Reset 'goback' variable once fragment is hidden
> https://code.videolan.org/videolan/vlc-android/commit/a8c3f03d7e64ea60fb160aff1599bfbc7f8403cd
---
vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
index 9b0497d92..005baddb8 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/NetworkBrowserFragment.java
@@ -125,6 +125,7 @@ public class NetworkBrowserFragment extends BaseBrowserFragment implements Exter
super.onStop();
if (!mRoot)
LocalBroadcastManager.getInstance(VLCApplication.getAppContext()).unregisterReceiver(mLocalReceiver);
+ goBack = false;
}
protected boolean handleContextItemSelected(MenuItem item, final int position) {
More information about the Android
mailing list