From 12b3fbee517ab05cf21cc5f675822954e9364479 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 3 Sep 2022 18:00:43 +0300 Subject: [PATCH] fix cloud backup by making the BackupAgent-extending class public also, dereive directly from BackupAgent, because only the profile configuration is stored, not the whole database as a side action, drop the backup descriptor and its mention in the manifests, because it is not used in the key-value backup MoLe uses --- app/src/main/AndroidManifest.xml | 3 +-- .../backup/MobileLedgerBackupAgent.java | 8 +++---- app/src/main/res/xml/backup_descriptor.xml | 21 ------------------- 3 files changed, 5 insertions(+), 27 deletions(-) delete mode 100644 app/src/main/res/xml/backup_descriptor.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 47f9b1d4..6d4948bc 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -24,13 +24,12 @@ android:name=".App" android:allowBackup="true" android:appCategory="productivity" - android:fullBackupContent="@xml/backup_descriptor" android:icon="@drawable/app_icon" android:label="@string/app_name" android:networkSecurityConfig="@xml/network_security_config" android:roundIcon="@drawable/app_icon_round" android:supportsRtl="true" - android:backupAgent="net.ktnx.mobileledger.backup.MobileLedgerBackupAgent" + android:backupAgent=".backup.MobileLedgerBackupAgent" tools:ignore="GoogleAppIndexingWarning"> - - - - - -- 2.39.2