aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <inputmice@siacs.eu>2015-01-06 18:26:14 +0100
committerDaniel Gultsch <inputmice@siacs.eu>2015-01-06 18:26:14 +0100
commit562699c7458a2acda942b8a6fe7e0bed4032309c (patch)
tree73259d4d459b280650b6b114e63a9d91af4a227a /src
parent4b0043ba91026887d74bfc46f0bcb0b23a6c2230 (diff)
run invalidateOptionsMenu on uiThread
Diffstat (limited to 'src')
-rw-r--r--src/main/java/eu/siacs/conversations/ui/ConversationActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
index 5cfc11166..e71f4cbb0 100644
--- a/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
+++ b/src/main/java/eu/siacs/conversations/ui/ConversationActivity.java
@@ -1050,10 +1050,10 @@ public class ConversationActivity extends XmppActivity
@Override
public void OnUpdateBlocklist(Status status) {
- invalidateOptionsMenu();
runOnUiThread(new Runnable() {
@Override
public void run() {
+ invalidateOptionsMenu();
ConversationActivity.this.mConversationFragment.updateMessages();
}
});