[Android] StartActivity: remove useless implementation

Geoffrey Métais git at videolan.org
Tue Nov 20 17:36:03 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Nov 20 10:28:40 2018 +0100| [c94fe71275dd37ed3878acd35a2d4cd6cf6e0a77] | committer: Geoffrey Métais

StartActivity: remove useless implementation

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

 vlc-android/src/org/videolan/vlc/StartActivity.java | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/StartActivity.java b/vlc-android/src/org/videolan/vlc/StartActivity.java
index 68a79ce85..1e461be4c 100644
--- a/vlc-android/src/org/videolan/vlc/StartActivity.java
+++ b/vlc-android/src/org/videolan/vlc/StartActivity.java
@@ -29,15 +29,12 @@ import android.content.SharedPreferences;
 import android.net.Uri;
 import android.os.Bundle;
 import android.provider.MediaStore;
-import androidx.fragment.app.FragmentActivity;
-import androidx.core.content.ContextCompat;
 import android.text.TextUtils;
 
 import org.videolan.libvlc.util.AndroidUtil;
 import org.videolan.vlc.gui.MainActivity;
 import org.videolan.vlc.gui.SearchActivity;
 import org.videolan.vlc.gui.helpers.UiTools;
-import org.videolan.vlc.gui.helpers.hf.StoragePermissionsDelegate;
 import org.videolan.vlc.gui.tv.MainTvActivity;
 import org.videolan.vlc.gui.video.VideoPlayerActivity;
 import org.videolan.vlc.media.MediaUtils;
@@ -45,9 +42,11 @@ import org.videolan.vlc.util.AndroidDevices;
 import org.videolan.vlc.util.Constants;
 import org.videolan.vlc.util.Settings;
 
+import androidx.core.content.ContextCompat;
+import androidx.fragment.app.FragmentActivity;
 import videolan.org.commontools.TvChannelUtilsKt;
 
-public class StartActivity extends FragmentActivity implements StoragePermissionsDelegate.CustomActionController {
+public class StartActivity extends FragmentActivity {
 
     public final static String TAG = "VLC/StartActivity";
 
@@ -127,9 +126,4 @@ public class StartActivity extends FragmentActivity implements StoragePermission
         return AndroidDevices.isAndroidTv || (!AndroidDevices.isChromeBook && !AndroidDevices.hasTsp) ||
                 Settings.INSTANCE.getInstance(this).getBoolean("tv_ui", false);
     }
-
-    @Override
-    public void onStorageAccessGranted() {
-        startPlaybackFromApp(getIntent());
-    }
 }



More information about the Android mailing list