diff app/src/main/AndroidManifest.xml @ 498:3feac274a27b

updates for android10+
author Carl Byington <carl@five-ten-sg.com>
date Mon, 06 Jun 2022 15:05:20 -0700
parents 73fa7329dc87
children 267e72057707
line wrap: on
line diff
--- a/app/src/main/AndroidManifest.xml	Mon Jun 06 13:01:45 2022 -0700
+++ b/app/src/main/AndroidManifest.xml	Mon Jun 06 15:05:20 2022 -0700
@@ -26,25 +26,29 @@
 	<uses-permission android:name="android.permission.FOREGROUND" />
 	<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
 	<uses-permission android:name="android.permission.INTERNET" />
+	<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
     <uses-permission android:name="android.permission.REORDER_TASKS"/>
 	<uses-permission android:name="android.permission.VIBRATE" />
 	<uses-permission android:name="android.permission.WAKE_LOCK" />
-	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
+	<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" android:maxSdkVersion="28" />
 
 	<permission
 		android:name="org.openintents.ssh.permission.ACCESS_SSH_AGENT"
 		android:protectionLevel="dangerous"
-		android:permissionGroup="android.permission-group.PERSONAL_INFO"
 		android:label="@string/ssh_agent_permission_label"
 		android:description="@string/ssh_agent_permission_desc"
 		android:icon="@drawable/pubkey">
 	</permission>
+	<!--	android:permissionGroup="android.permission-group.PERSONAL_INFO"
+    -->
 
 	<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
 
 	<supports-screens />
 
 	<application
+        android:requestLegacyExternalStorage="true"
 		android:icon="@drawable/icon"
 		android:label="@string/app_name"
 		android:description="@string/app_desc"