summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-03-22 09:29:24 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:44 +0200
commit1b40a3df19f3a20351667f108be8bc8bda865d30 (patch)
treed6331ce74c302ed733e9196729173a7bf2f6ee31 /src/android
parentandroid: Remove requestLegacyExternalStorage attribute (diff)
downloadyuzu-1b40a3df19f3a20351667f108be8bc8bda865d30.tar
yuzu-1b40a3df19f3a20351667f108be8bc8bda865d30.tar.gz
yuzu-1b40a3df19f3a20351667f108be8bc8bda865d30.tar.bz2
yuzu-1b40a3df19f3a20351667f108be8bc8bda865d30.tar.lz
yuzu-1b40a3df19f3a20351667f108be8bc8bda865d30.tar.xz
yuzu-1b40a3df19f3a20351667f108be8bc8bda865d30.tar.zst
yuzu-1b40a3df19f3a20351667f108be8bc8bda865d30.zip
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/AndroidManifest.xml7
-rw-r--r--src/android/app/src/main/res/xml/data_extraction_rules.xml16
-rw-r--r--src/android/app/src/main/res/xml/data_extraction_rules_api_31.xml35
3 files changed, 56 insertions, 2 deletions
diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml
index 2cb4e971d..4164bd96f 100644
--- a/src/android/app/src/main/AndroidManifest.xml
+++ b/src/android/app/src/main/AndroidManifest.xml
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+<manifest xmlns:tools="http://schemas.android.com/tools"
+ xmlns:android="http://schemas.android.com/apk/res/android">
<uses-feature
android:name="android.hardware.touchscreen"
android:required="false"/>
@@ -22,7 +23,9 @@
android:supportsRtl="true"
android:isGame="true"
android:banner="@mipmap/ic_launcher"
- android:extractNativeLibs="true">
+ android:extractNativeLibs="true"
+ android:fullBackupContent="@xml/data_extraction_rules"
+ android:dataExtractionRules="@xml/data_extraction_rules_api_31">
<activity
android:name="org.yuzu.yuzu_emu.ui.main.MainActivity"
diff --git a/src/android/app/src/main/res/xml/data_extraction_rules.xml b/src/android/app/src/main/res/xml/data_extraction_rules.xml
new file mode 100644
index 000000000..87a5da6a4
--- /dev/null
+++ b/src/android/app/src/main/res/xml/data_extraction_rules.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<full-backup-content>
+
+ <exclude
+ domain="external"
+ path="./load/" />
+
+ <exclude
+ domain="external"
+ path="./log/" />
+
+ <include
+ domain="external"
+ path="." />
+
+</full-backup-content>
diff --git a/src/android/app/src/main/res/xml/data_extraction_rules_api_31.xml b/src/android/app/src/main/res/xml/data_extraction_rules_api_31.xml
new file mode 100644
index 000000000..637fc9e67
--- /dev/null
+++ b/src/android/app/src/main/res/xml/data_extraction_rules_api_31.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<data-extraction-rules>
+ <cloud-backup disableIfNoEncryptionCapabilities="false">
+
+ <exclude
+ domain="external"
+ path="./load/" />
+
+ <exclude
+ domain="external"
+ path="./log/" />
+
+ <include
+ domain="external"
+ path="." />
+
+ </cloud-backup>
+
+ <device-transfer>
+
+ <exclude
+ domain="external"
+ path="./load/" />
+
+ <exclude
+ domain="external"
+ path="./log/" />
+
+ <include
+ domain="external"
+ path="." />
+
+ </device-transfer>
+
+</data-extraction-rules>