[Android] Fix onRestart() call
Geoffrey Métais
git at videolan.org
Wed Feb 27 11:22:16 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 27 11:10:18 2019 +0100| [b95e73f3b5577486f04ba50679ff708158c83846] | committer: Geoffrey Métais
Fix onRestart() call
> https://code.videolan.org/videolan/vlc-android/commit/b95e73f3b5577486f04ba50679ff708158c83846
---
vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
index bcb08a196..45b3d8742 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/MediaBrowserFragment.java
@@ -91,12 +91,12 @@ public abstract class MediaBrowserFragment<T extends SortableModel> extends Frag
super.onCreate(savedInstanceState);
mMediaLibrary = VLCApplication.getMLInstance();
setHasOptionsMenu(!AndroidDevices.isAndroidTv);
+ restart = false;
}
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
- restart = false;
mSearchButtonView = view.findViewById(R.id.searchButton);
mSwipeRefreshLayout = view.findViewById(R.id.swipeLayout);
mSwipeRefreshLayout.setColorSchemeResources(R.color.orange700);
More information about the Android
mailing list