refactor: disable backup
This commit is contained in:
@@ -25,7 +25,8 @@
|
|||||||
|
|
||||||
<application
|
<application
|
||||||
android:name=".GudariWalletApplication"
|
android:name=".GudariWalletApplication"
|
||||||
android:allowBackup="true"
|
android:allowBackup="false"
|
||||||
|
android:dataExtractionRules="@xml/data_extraction_rules"
|
||||||
android:icon="@mipmap/ic_launcher"
|
android:icon="@mipmap/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
|
|||||||
@@ -1,19 +1,27 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?><!--
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
Sample data extraction rules file; uncomment and customize as necessary.
|
<!--
|
||||||
See https://developer.android.com/about/versions/12/backup-restore#xml-changes
|
Rules for Android 12+ (API 31+) controlling:
|
||||||
for details.
|
- cloudBackup: Auto Backup to Google Drive
|
||||||
|
- deviceTransfer: Device-to-device transfers (e.g. phone setup wizard)
|
||||||
|
|
||||||
|
Since android:allowBackup="false" was set previously, we disable both.
|
||||||
-->
|
-->
|
||||||
<data-extraction-rules>
|
<data-extraction-rules>
|
||||||
<cloud-backup>
|
|
||||||
<!-- TODO: Use <include> and <exclude> to control what is backed up.
|
<cloud-backup disableIfNoEncryptionCapabilities="false">
|
||||||
<include .../>
|
<exclude domain="root" />
|
||||||
<exclude .../>
|
<exclude domain="file" />
|
||||||
-->
|
<exclude domain="database" />
|
||||||
|
<exclude domain="sharedpref" />
|
||||||
|
<exclude domain="external" />
|
||||||
</cloud-backup>
|
</cloud-backup>
|
||||||
<!--
|
|
||||||
<device-transfer>
|
<device-transfer>
|
||||||
<include .../>
|
<exclude domain="root" />
|
||||||
<exclude .../>
|
<exclude domain="file" />
|
||||||
|
<exclude domain="database" />
|
||||||
|
<exclude domain="sharedpref" />
|
||||||
|
<exclude domain="external" />
|
||||||
</device-transfer>
|
</device-transfer>
|
||||||
-->
|
|
||||||
</data-extraction-rules>
|
</data-extraction-rules>
|
||||||
|
|||||||
Reference in New Issue
Block a user