From e9c26d0e60d4d852a4f4388ea560918c45a20a81 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Tue, 3 Sep 2019 01:01:24 +0530 Subject: [PATCH] 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 --- app/src/main/AndroidManifest.xml | 2 +- app/src/main/res/xml/backup_rules.xml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/xml/backup_rules.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c255a38dd..88d61ef20 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -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"> diff --git a/app/src/main/res/xml/backup_rules.xml b/app/src/main/res/xml/backup_rules.xml new file mode 100644 index 000000000..05248e2f8 --- /dev/null +++ b/app/src/main/res/xml/backup_rules.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file