show popup dialog when backup has been started. fixes #4031
This commit is contained in:
parent
45c5f9aa90
commit
02b16063c6
|
@ -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) {
|
||||
|
|
|
@ -959,4 +959,5 @@
|
|||
<string name="unable_to_parse_invite">Unable to parse invite</string>
|
||||
<string name="server_does_not_support_easy_onboarding_invites">Server does not support generating invites</string>
|
||||
<string name="no_active_accounts_support_this">No active accounts support this feature</string>
|
||||
<string name="backup_started_message">The backup has been started. You’ll get a notification once it has been completed.</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in New Issue