Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

android: Backup shared preferences where applicable

Charles Lombardoc04cc1b4f475
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
index 87a5da6a45..c10efcf564 100644
--- a/src/android/app/src/main/res/xml/data_extraction_rules.xml
+++ b/src/android/app/src/main/res/xml/data_extraction_rules.xml
@@ -13,4 +13,8 @@
domain="external"
path="." />
+ <include
+ domain="sharedpref"
+ 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
index 637fc9e675..3ff6cc170f 100644
--- 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
@@ -14,6 +14,10 @@
domain="external"
path="." />
+ <include
+ domain="sharedpref"
+ path="." />
+
</cloud-backup>
<device-transfer>
@@ -30,6 +34,10 @@
domain="external"
path="." />
+ <include
+ domain="sharedpref"
+ path="." />
+
</device-transfer>
</data-extraction-rules>