diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-03-22 09:29:24 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:44 +0200 |
commit | 1b40a3df19f3a20351667f108be8bc8bda865d30 (patch) | |
tree | d6331ce74c302ed733e9196729173a7bf2f6ee31 /src/android | |
parent | android: Remove requestLegacyExternalStorage attribute (diff) | |
download | yuzu-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')
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> |