Disable backup

This commit is contained in:
Mohamed
2024-06-29 15:44:43 +03:00
parent ba28e54f7c
commit f582497956
2 changed files with 12 additions and 10 deletions

View File

@ -9,9 +9,9 @@
<application
android:name=".OmnivoreApplication"
android:allowBackup="true"
android:allowBackup="false"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:fullBackupContent="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"

View File

@ -5,15 +5,17 @@
-->
<data-extraction-rules>
<cloud-backup>
<!-- Use <include> and <exclude> to control what is backed up.
<include .../>
<exclude .../>
-->
<exclude domain="root" />
<exclude domain="file" />
<exclude domain="database" />
<exclude domain="sharedpref" />
<exclude domain="external" />
</cloud-backup>
<!--
<device-transfer>
<include .../>
<exclude .../>
<exclude domain="root" />
<exclude domain="file" />
<exclude domain="database" />
<exclude domain="sharedpref" />
<exclude domain="external" />
</device-transfer>
-->
</data-extraction-rules>