From 925fb008fed0d490a238169e07d862957ad93efa Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Fri, 21 Oct 2016 21:41:08 +0200 Subject: make VideoCompression notification persistent --- src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/de/pixart/messenger') diff --git a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java index 3af13399a..9a85925bd 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -538,6 +538,7 @@ public class XmppConnectionService extends Service { mBuilder.setContentTitle(getString(R.string.app_name)) .setContentText(getString(R.string.compressing_video)) .setSmallIcon(R.drawable.ic_play_box_outline_white_24dp) + .setOngoing(true) .setProgress(0, 0, true); mNotifyManager.notify(NOTIFICATION_ID, mBuilder.build()); if (FileBackend.weOwnFile(this, uri)) { -- cgit v1.2.3