From 02b16063c68b235bc8e207fb7c59cc59e76a8347 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 22 Mar 2021 15:40:22 +0100 Subject: [PATCH] show popup dialog when backup has been started. fixes #4031 --- src/main/java/eu/siacs/conversations/ui/SettingsActivity.java | 4 ++++ src/main/res/values/strings.xml | 1 + 2 files changed, 5 insertions(+) diff --git a/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java b/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java index b2ba8fd32..68cc42921 100644 --- a/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/SettingsActivity.java @@ -411,6 +411,10 @@ public class SettingsActivity extends XmppActivity implements private void createBackup() { ContextCompat.startForegroundService(this, new Intent(this, ExportBackupService.class)); + final AlertDialog.Builder builder = new AlertDialog.Builder(this); + builder.setMessage(R.string.backup_started_message); + builder.setPositiveButton(R.string.ok, null); + builder.create().show(); } private void displayToast(final String msg) { diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index ace5e4061..493a9dd8b 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -959,4 +959,5 @@ Unable to parse invite Server does not support generating invites No active accounts support this feature + The backup has been started. You’ll get a notification once it has been completed.