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:
Chirayu Desai 2019-09-03 01:01:24 +05:30
parent ce37822bb7
commit e9c26d0e60
2 changed files with 6 additions and 1 deletions

View File

@ -64,7 +64,7 @@
android:label="@string/app_name"
android:description="@string/app_description"
android:allowBackup="true"
android:fullBackupContent="true"
android:fullBackupContent="@xml/backup_rules"
android:theme="@style/AppThemeLight"
android:supportsRtl="true">

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