Explicitly define backup rules
* So that we don't go over the backup limit (25MB) by including APKs and the local swap repo in the backup
This commit is contained in:
parent
ce37822bb7
commit
e9c26d0e60
@ -64,7 +64,7 @@
|
|||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:description="@string/app_description"
|
android:description="@string/app_description"
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:fullBackupContent="true"
|
android:fullBackupContent="@xml/backup_rules"
|
||||||
android:theme="@style/AppThemeLight"
|
android:theme="@style/AppThemeLight"
|
||||||
android:supportsRtl="true">
|
android:supportsRtl="true">
|
||||||
|
|
||||||
|
5
app/src/main/res/xml/backup_rules.xml
Normal file
5
app/src/main/res/xml/backup_rules.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<full-backup-content>
|
||||||
|
<!-- Don't include apks or the local swap repo -->
|
||||||
|
<exclude domain="file" path="."/>
|
||||||
|
</full-backup-content>
|
Loading…
x
Reference in New Issue
Block a user