diff options
author | iNPUTmice <daniel@gultsch.de> | 2015-01-28 00:31:01 +0100 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2015-01-28 00:31:01 +0100 |
commit | 250501a390dbfff29a3216e79e2ce7ce70fa69f5 (patch) | |
tree | 7392d14cfc1375c592baff5714098d12a06500b2 | |
parent | b626864f4e0d4a71aba0ebedab9902447d9962a8 (diff) |
removed 1s delay from clear notification fixissue921
Diffstat (limited to '')
-rw-r--r-- | src/main/java/eu/siacs/conversations/ui/ConversationActivity.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java index f747aed4..1cdda5f9 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java @@ -747,14 +747,10 @@ public class ConversationActivity extends XmppActivity if (this.xmppConnectionServiceBound) { this.xmppConnectionService.getNotificationService().setIsInForeground(true); } - new Handler().postDelayed(new Runnable() { - @Override - public void run() { - if (!isConversationsOverviewVisable() || !isConversationsOverviewHideable()) { - sendReadMarkerIfNecessary(getSelectedConversation()); - } - } - },1000); + + if (!isConversationsOverviewVisable() || !isConversationsOverviewHideable()) { + sendReadMarkerIfNecessary(getSelectedConversation()); + } } |