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