[Android] Remove dead code

Geoffrey Métais git at videolan.org
Thu Oct 26 15:45:38 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Oct 26 15:41:22 2017 +0200| [e3e62580f9361135212293945546c4462cd45b55] | committer: Geoffrey Métais

Remove dead code

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

 vlc-android/src/org/videolan/vlc/gui/tv/MainTvActivity.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/tv/MainTvActivity.java b/vlc-android/src/org/videolan/vlc/gui/tv/MainTvActivity.java
index a98534954..b6b5f1b68 100644
--- a/vlc-android/src/org/videolan/vlc/gui/tv/MainTvActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/tv/MainTvActivity.java
@@ -120,8 +120,6 @@ public class MainTvActivity extends BaseTvActivity implements OnItemViewSelected
     @Override
     protected void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
-        if (mSettings.getBoolean(PreferencesActivity.AUTO_RESCAN, true) && Permissions.canReadStorage())
-            mMediaLibrary.reload();
 
         if (!VLCInstance.testCompatibleCPU(this)) {
             finish();



More information about the Android mailing list