diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-06-29 22:07:11 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-06-29 22:07:11 +0200 |
commit | 195de26689b0e8bf76a04822474426c52978e9d3 (patch) | |
tree | 59ae34491520f00fc5fc3221a423783e1957829e /src | |
parent | fe4ad9e582cfeef747f758bd278febf7a6c6f55c (diff) |
try to stop transcoding notification in some rare cases
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/AttachFileToConversationRunnable.java | 2 |
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); } } |