aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-03-14 21:40:29 +0100
committerChristian Schneppe <christian@pix-art.de>2019-03-14 21:40:29 +0100
commitd1a2c5b7a7a71c3d877508f0e8ebfe1176b63b12 (patch)
treeef6e874eff51e7edbcc6cd6e66697b1e576152f1 /src/main/java/de/pixart/messenger/services
parentd74cf5b6f0ed5b493ea4953f57a93347c03253b3 (diff)
fix some crashes
Diffstat (limited to 'src/main/java/de/pixart/messenger/services')
-rw-r--r--src/main/java/de/pixart/messenger/services/AlarmReceiver.java4
1 files changed, 3 insertions, 1 deletions
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);
}
}
}