Dispatches video contact details in MetaContactRightButtonMenu.

cusax-fix
Damian Minkov 13 years ago
parent b78d03cc43
commit d0f28b72ca

@ -380,6 +380,7 @@ private void init()
List<ProtocolProviderService> providers =
CallManager.getTelephonyProviders();
boolean hasPhones = false;
boolean hasVideoDetail = false;
boolean separator = false;
boolean routingForVideoEnabled = false;
boolean routingForDesktopEnabled = false;
@ -449,6 +450,7 @@ else if(d instanceof MobilePhoneDetail)
}
else if(d instanceof VideoDetail)
{
hasVideoDetail = true;
localizedType =
GuiActivator.getResources().
getI18NString(
@ -512,7 +514,8 @@ else if(d instanceof VideoDetail)
OperationSetVideoTelephony.class) != null &&
hasContactCapabilities(contact,
OperationSetVideoTelephony.class)
|| routingForVideoEnabled)
|| routingForVideoEnabled
|| hasVideoDetail)
{
videoCallMenu.add(
createMenuItem( contactAddress,
@ -749,7 +752,8 @@ else if (authRequestItemCount == 1
if (metaContact.getDefaultContact(
OperationSetVideoTelephony.class) == null
&& !routingForVideoEnabled)
&& !routingForVideoEnabled
&& !hasVideoDetail)
{
this.videoCallItem.setEnabled(false);
}

Loading…
Cancel
Save