[Android] Remove useless code

Geoffrey Métais git at videolan.org
Wed Mar 16 16:23:56 CET 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Mar 16 16:00:17 2016 +0100| [405b0e6508856b5bd84bc7fc54ac4992ac9d8e45] | committer: Geoffrey Métais

Remove useless code

> https://code.videolan.org/videolan/vlc-android/commit/405b0e6508856b5bd84bc7fc54ac4992ac9d8e45
---

 .../src/org/videolan/vlc/gui/tv/browser/BrowserGridFragment.java   | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/tv/browser/BrowserGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/tv/browser/BrowserGridFragment.java
index dd94668..17f8f77 100644
--- a/vlc-android/src/org/videolan/vlc/gui/tv/browser/BrowserGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/tv/browser/BrowserGridFragment.java
@@ -61,13 +61,6 @@ public class BrowserGridFragment extends GridFragment implements MediaBrowser.Ev
 
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
-        if (savedInstanceState != null){
-            mUri = Uri.parse(savedInstanceState.getString(BaseBrowserFragment.KEY_MRL));
-        } else {
-            Intent intent = getActivity().getIntent();
-            if (intent != null && intent.hasExtra(BaseBrowserFragment.KEY_MRL))
-                mUri = Uri.parse(intent.getStringExtra(BaseBrowserFragment.KEY_MRL));
-        }
         setOnItemViewSelectedListener(this);
         setOnItemViewClickedListener(this);
     }



More information about the Android mailing list