run invalidateOptionsMenu on uiThread

This commit is contained in:
Daniel Gultsch 2015-01-06 18:26:14 +01:00
parent 4b0043ba91
commit 562699c745
1 changed files with 1 additions and 1 deletions

View File

@ -1050,10 +1050,10 @@ public class ConversationActivity extends XmppActivity
@Override @Override
public void OnUpdateBlocklist(Status status) { public void OnUpdateBlocklist(Status status) {
invalidateOptionsMenu();
runOnUiThread(new Runnable() { runOnUiThread(new Runnable() {
@Override @Override
public void run() { public void run() {
invalidateOptionsMenu();
ConversationActivity.this.mConversationFragment.updateMessages(); ConversationActivity.this.mConversationFragment.updateMessages();
} }
}); });