run invalidateOptionsMenu on uiThread
This commit is contained in:
parent
4b0043ba91
commit
562699c745
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue