Fixes a ClassCastException in call invite and transfer dialogs.

cusax-fix
Yana Stamcheva 13 years ago
parent cb1708e1a0
commit 5e10b17cab

@ -294,20 +294,12 @@ private SourceContact createSourceContact( SourceContact sourceContact,
GenericSourceContact genericContact;
if (sourceContact instanceof SortedGenericSourceContact)
{
genericContact
= new SortedGenericSourceContact(
this,
DemuxContactSource.this,
sourceContact.getDisplayName(),
contactDetails);
}
else
genericContact
= new GenericSourceContact( DemuxContactSource.this,
sourceContact.getDisplayName(),
contactDetails);
genericContact
= new SortedGenericSourceContact(
this,
DemuxContactSource.this,
sourceContact.getDisplayName(),
contactDetails);
genericContact.setDisplayDetails(sourceContact.getDisplayDetails());
genericContact.setPresenceStatus(sourceContact.getPresenceStatus());

Loading…
Cancel
Save