From d1a2c5b7a7a71c3d877508f0e8ebfe1176b63b12 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Thu, 14 Mar 2019 21:40:29 +0100 Subject: fix some crashes --- src/main/java/de/pixart/messenger/services/AlarmReceiver.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/de/pixart/messenger/services') diff --git a/src/main/java/de/pixart/messenger/services/AlarmReceiver.java b/src/main/java/de/pixart/messenger/services/AlarmReceiver.java index 887a59684..74ee14345 100644 --- a/src/main/java/de/pixart/messenger/services/AlarmReceiver.java +++ b/src/main/java/de/pixart/messenger/services/AlarmReceiver.java @@ -15,7 +15,9 @@ public class AlarmReceiver extends BroadcastReceiver { public void onReceive(Context context, Intent intent) { if (intent.getAction().contains("exportlogs")) { Log.d(Config.LOGTAG, "Received alarm broadcast to export logs"); - Compatibility.startService(context, new Intent(context, ExportBackupService.class)); + final Intent backupIntent = new Intent(context, ExportBackupService.class); + backupIntent.putExtra("NOTIFY_ON_BACKUP_COMPLETE", false); + Compatibility.startService(context, intent); } } } -- cgit v1.2.3