aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-06-29 22:07:11 +0200
committerChristian Schneppe <christian@pix-art.de>2018-06-29 22:07:11 +0200
commit195de26689b0e8bf76a04822474426c52978e9d3 (patch)
tree59ae34491520f00fc5fc3221a423783e1957829e /src/main/java/de
parentfe4ad9e582cfeef747f758bd278febf7a6c6f55c (diff)
try to stop transcoding notification in some rare cases
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java b/src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java
index 780be831b..1581638ae 100644
--- a/src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java
+++ b/src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java
@@ -105,8 +105,10 @@ public class AttachFileToConversationRunnable implements Runnable, MediaTranscod
try {
future.get();
} catch (InterruptedException e) {
+ mXmppConnectionService.stopForcingForegroundNotification();
throw new AssertionError(e);
} catch (ExecutionException e) {
+ mXmppConnectionService.stopForcingForegroundNotification();
Log.d(Config.LOGTAG, "ignoring execution exception. Should get handled by onTranscodeFiled() instead", e);
}
}