From 255271bfaf4c235a546a92d1f5b294d3b7d597b3 Mon Sep 17 00:00:00 2001 From: Anton Chekulaev Date: Tue, 20 Oct 2020 15:39:01 +1100 Subject: [PATCH] Base backup restore activity. --- AndroidManifest.xml | 5 + build.gradle | 15 ++ res/layout/activity_backup_restore.xml | 95 +++++++ res/layout/activity_landing.xml | 10 + .../securesms/RegistrationActivity.java | 3 +- .../securesms/backup/FullBackupImporter.java | 31 ++- .../loki/activities/BackupRestoreActivity.kt | 231 ++++++++++++++++++ .../loki/activities/LandingActivity.kt | 4 + .../thoughtcrime/securesms/util/BackupUtil.kt | 5 +- 9 files changed, 388 insertions(+), 11 deletions(-) create mode 100644 res/layout/activity_backup_restore.xml create mode 100644 src/org/thoughtcrime/securesms/loki/activities/BackupRestoreActivity.kt diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 30032cbd8b..01925ec77e 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -105,6 +105,11 @@ android:screenOrientation="portrait" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.Session.DayNight.FlatActionBar" /> + + + + + + + + + + + + + + + + + +