diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/pixart/messenger/services/XmppConnectionService.java | 2 |
1 files changed, 2 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 1654a913c..a21bd3a9f 100644 --- a/src/main/java/de/pixart/messenger/services/XmppConnectionService.java +++ b/src/main/java/de/pixart/messenger/services/XmppConnectionService.java @@ -553,12 +553,14 @@ public class XmppConnectionService extends Service { mNotifyManager.notify(NOTIFICATION_ID, mBuilder.build()); if (FileBackend.weOwnFile(this, uri)) { Log.d(Config.LOGTAG,"trying to attach video that belonged to us"); + mNotifyManager.cancel(NOTIFICATION_ID); callback.error(R.string.security_error_invalid_file_access, null); return; } Log.d(Config.LOGTAG,"Video file (size) :" + f.toString() + "("+filesize/1024/1024+"MB)"); if (filesize == 0) { Log.d(Config.LOGTAG,"Error with file, size = 0"); + mNotifyManager.cancel(NOTIFICATION_ID); callback.error(R.string.error_file_corrupt, null); return; } |