run invalidateOptionsMenu on uiThread

This commit is contained in:
Daniel Gultsch 2015-01-06 18:26:14 +01:00
parent 4b0043ba91
commit 562699c745

View file

@ -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();
}
});