diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-10-21 21:41:08 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-10-21 21:41:08 +0200 |
commit | 925fb008fed0d490a238169e07d862957ad93efa (patch) | |
tree | a2c4164c60a5b4c8f80e811bd84ff1521f390fdd /src/main/java/de/pixart/messenger | |
parent | dbb43eb7a456a9cbdc4d21b6143796c84c5d2ee6 (diff) |
make VideoCompression notification persistent
Diffstat (limited to 'src/main/java/de/pixart/messenger')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 1 |
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)) { |