From 4a54c32e6bd149b7b5086fc69180b2b92c5f33fb Mon Sep 17 00:00:00 2001 From: Bartlomiej Moskal Date: Mon, 10 Mar 2025 11:44:26 +0100 Subject: [PATCH] Android: Update qtprovider_paths.xml file The qtprovider_paths.xml is used by FileProvider[0] The file defines the different file locations that can be used for sharing content (with other apps). Previously it used only the files-path type (for private files inside internal storage). According: qstandardpaths_android.cpp file, we need much more here. This commit adds more file types to qtprovider_paths.xml [0]https://developer.android.com/reference/androidx/core/content/FileProvider Task-number: QTBUG-133702 Pick-to: 6.9 6.9.0 6.8 6.8.3 Change-Id: I29c8eb3d00490e9127d0aa646b4c50643b5f51ac Reviewed-by: Assam Boudjelthia --- src/android/templates/res/xml/qtprovider_paths.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/android/templates/res/xml/qtprovider_paths.xml b/src/android/templates/res/xml/qtprovider_paths.xml index ae5b4b6074e..3488bf27081 100644 --- a/src/android/templates/res/xml/qtprovider_paths.xml +++ b/src/android/templates/res/xml/qtprovider_paths.xml @@ -1,4 +1,11 @@ + + + + + + +