mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-08 15:47:47 +00:00
Set dataExtractionRules in AndroidManifest for Android 12+
This commit is contained in:
parent
fcb7bf032b
commit
0938d3688a
3 changed files with 17 additions and 5 deletions
|
@ -17,7 +17,8 @@
|
|||
android:name=".AegisApplication"
|
||||
android:allowBackup="true"
|
||||
android:fullBackupOnly="true"
|
||||
android:fullBackupContent="@xml/backup_rules"
|
||||
android:fullBackupContent="@xml/backup_rules_old"
|
||||
android:dataExtractionRules="@xml/backup_rules"
|
||||
android:backupAgent=".AegisBackupAgent"
|
||||
android:icon="@mipmap/${iconName}"
|
||||
android:label="Aegis"
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<full-backup-content>
|
||||
<include domain="sharedpref" path="."/>
|
||||
<include domain="file" path="backup/aegis.json"/>
|
||||
</full-backup-content>
|
||||
<data-extraction-rules>
|
||||
<cloud-backup>
|
||||
<include domain="sharedpref" path="."/>
|
||||
<include domain="file" path="backup/aegis.json"/>
|
||||
</cloud-backup>
|
||||
<device-transfer>
|
||||
<include domain="sharedpref" path="."/>
|
||||
<include domain="file" path="backup/aegis.json"/>
|
||||
</device-transfer>
|
||||
</data-extraction-rules>
|
||||
|
|
5
app/src/main/res/xml/backup_rules_old.xml
Normal file
5
app/src/main/res/xml/backup_rules_old.xml
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<full-backup-content>
|
||||
<include domain="sharedpref" path="."/>
|
||||
<include domain="file" path="backup/aegis.json"/>
|
||||
</full-backup-content>
|
Loading…
Add table
Add a link
Reference in a new issue