Update recipients on UI thread.

Fixes #3402
// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-06-11 12:53:38 -07:00
parent ae4f6b1dd4
commit 6caee6b0f0

View File

@ -797,10 +797,15 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
}
@Override
public void onModified(Recipients recipients) {
public void onModified(final Recipients recipients) {
titleView.post(new Runnable() {
@Override
public void run() {
titleView.setTitle(recipients);
setBlockedUserState(recipients);
}
});
}
private void initializeReceivers() {
securityUpdateReceiver = new BroadcastReceiver() {