[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [orbot/master] removed unused FileProvider.xml mentioned in #540



commit f989be3edc5cae1e1da163f9ff40ed0d0ce01479
Author: b <dsnake@xxxxxxxxxxxxxx>
Date:   Thu Dec 9 20:08:49 2021 -0500

    removed unused FileProvider.xml mentioned in #540
---
 app-tv/src/main/res/xml/hidden_services_paths.xml |  4 ----
 app/src/main/AndroidManifest.xml                  | 10 ----------
 app/src/main/res/xml/hidden_services_paths.xml    |  4 ----
 3 files changed, 18 deletions(-)

diff --git a/app-tv/src/main/res/xml/hidden_services_paths.xml b/app-tv/src/main/res/xml/hidden_services_paths.xml
deleted file mode 100644
index 073732b6..00000000
--- a/app-tv/src/main/res/xml/hidden_services_paths.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<paths xmlns:android="http://schemas.android.com/apk/res/android";>
-    <files-path name="hidden-services" path="hidden_services/" />
-</paths>
\ No newline at end of file
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 9e8a452a..f9a0838c 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -139,16 +139,6 @@
             android:name=".ui.v3onionservice.clientauth.ClientAuthContentProvider"
             android:exported="false"/>
 
-        <provider
-            android:name="androidx.core.content.FileProvider"
-            android:authorities="org.torproject.android.ui.hiddenservices.storage"
-            android:exported="false"
-            android:grantUriPermissions="true">
-            <meta-data
-                android:name="android.support.FILE_PROVIDER_PATHS"
-                android:resource="@xml/hidden_services_paths" />
-        </provider>
-
         <receiver
             android:name=".service.StartTorReceiver"
             android:exported="true"
diff --git a/app/src/main/res/xml/hidden_services_paths.xml b/app/src/main/res/xml/hidden_services_paths.xml
deleted file mode 100644
index 22485918..00000000
--- a/app/src/main/res/xml/hidden_services_paths.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<paths>
-    <files-path name="hidden-services" path="hidden_services/" />
-</paths>
\ No newline at end of file



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits