android: Add data extraction rules

This commit is contained in:
Charles Lombardo 2023-03-22 04:29:24 -04:00 committed by bunnei
parent 93d6a1fc9c
commit 1b40a3df19
3 changed files with 56 additions and 2 deletions

View file

@ -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"

View file

@ -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>

View file

@ -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>