avoid weird npe. fixed #991

This commit is contained in:
iNPUTmice 2015-02-18 13:11:41 +01:00
parent a8ec36cda8
commit da2bc6db23
1 changed files with 3 additions and 1 deletions

View File

@ -321,7 +321,9 @@ public class ConversationFragment extends Fragment {
@Override
public void onClick(View v) {
activity.hideConversationsOverview();
if (activity != null) {
activity.hideConversationsOverview();
}
}
});
mEditMessage.setOnEditorActionListener(mEditorActionListener);