fixed null pointer issue
This commit is contained in:
parent
0b235171a8
commit
b966464324
|
@ -206,7 +206,7 @@ public class ConversationActivity extends XmppActivity {
|
|||
@Override
|
||||
public void onPanelClosed(View arg0) {
|
||||
paneShouldBeOpen = false;
|
||||
if (conversationList.size() > 0) {
|
||||
if ((conversationList.size() > 0)&&(getSelectedConversation()!=null)) {
|
||||
getActionBar().setDisplayHomeAsUpEnabled(true);
|
||||
getActionBar().setTitle(getSelectedConversation().getName(useSubject));
|
||||
invalidateOptionsMenu();
|
||||
|
|
Loading…
Reference in a new issue