aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2016-10-21 21:41:08 +0200
committerChristian Schneppe <christian@pix-art.de>2016-10-21 21:41:08 +0200
commit925fb008fed0d490a238169e07d862957ad93efa (patch)
treea2c4164c60a5b4c8f80e811bd84ff1521f390fdd /src/main/java/de/pixart/messenger/services
parentdbb43eb7a456a9cbdc4d21b6143796c84c5d2ee6 (diff)
make VideoCompression notification persistent
Diffstat (limited to 'src/main/java/de/pixart/messenger/services')
-rw-r--r--src/main/java/de/pixart/messenger/services/XmppConnectionService.java1
1 files changed, 1 insertions, 0 deletions
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)) {