[Android] Remove dead code

Geoffrey Métais git at videolan.org
Tue Oct 27 18:22:58 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Oct 27 18:21:46 2015 +0100| [dc77718a23c58ef4ab229ac70330e2b729349a25] | committer: Geoffrey Métais

Remove dead code

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=dc77718a23c58ef4ab229ac70330e2b729349a25
---

 vlc-android/src/org/videolan/vlc/util/AndroidDevices.java |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java b/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
index 0dda697..9703c4c 100644
--- a/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
+++ b/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
@@ -353,10 +353,4 @@ public class AndroidDevices {
                 new String[]{Manifest.permission.READ_EXTERNAL_STORAGE},
                 PERMISSION_STORAGE_TAG);
     }
-
-    private static void requestSettingsPermission(Activity activity){
-        ActivityCompat.requestPermissions(activity,
-                new String[]{Manifest.permission.WRITE_SETTINGS},
-                PERMISSION_SETTINGS_TAG);
-    }
 }



More information about the Android mailing list