[Android] Request legacy external storage access

Geoffrey Métais git at videolan.org
Tue Oct 29 16:18:49 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Oct 15 11:02:21 2019 +0200| [c9c42fd2b2c557629883b1b791f9aa93508bff91] | committer: Geoffrey Métais

Request legacy external storage access

Bypass scoped storage

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

 vlc-android/AndroidManifest.xml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 11de765d9..efabed0fe 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -62,15 +62,18 @@
         android:supportsRtl="true"
         android:theme="@style/Theme.VLC.Transparent"
         android:usesCleartextTraffic="true"
-        tools:targetApi="o">
+        android:requestLegacyExternalStorage="true"
+        tools:targetApi="q">
 
         <!-- Enable VLC in Samsung multiwindow mode -->
         <meta-data
                 android:name="com.samsung.android.sdk.multiwindow.enable"
-                android:value="true"/> <!-- Enable VLC in LG split window mode -->
+                android:value="true"/>
+        <!-- Enable VLC in LG split window mode -->
         <meta-data
                 android:name="com.lge.support.SPLIT_WINDOW"
-                android:value="true"/> <!-- Android auto -->
+                android:value="true"/>
+        <!-- Android auto -->
         <meta-data
                 android:name="com.google.android.gms.car.application"
                 android:resource="@xml/automotive_app_desc"/>



More information about the Android mailing list