Fix call from contact issue
This commit is contained in:
parent
718c272b33
commit
6c24b1de61
1 changed files with 7 additions and 3 deletions
|
@ -22,10 +22,10 @@ import org.linphone.LinphoneManager.NewOutgoingCallUiListener;
|
||||||
import org.linphone.LinphoneService.LinphoneGuiListener;
|
import org.linphone.LinphoneService.LinphoneGuiListener;
|
||||||
import org.linphone.core.CallDirection;
|
import org.linphone.core.CallDirection;
|
||||||
import org.linphone.core.LinphoneCall;
|
import org.linphone.core.LinphoneCall;
|
||||||
|
import org.linphone.core.LinphoneCall.State;
|
||||||
import org.linphone.core.LinphoneCore;
|
import org.linphone.core.LinphoneCore;
|
||||||
import org.linphone.core.Log;
|
import org.linphone.core.Log;
|
||||||
import org.linphone.core.Version;
|
import org.linphone.core.Version;
|
||||||
import org.linphone.core.LinphoneCall.State;
|
|
||||||
import org.linphone.core.video.AndroidCameraRecordManager;
|
import org.linphone.core.video.AndroidCameraRecordManager;
|
||||||
import org.linphone.ui.AddVideoButton;
|
import org.linphone.ui.AddVideoButton;
|
||||||
import org.linphone.ui.AddressAware;
|
import org.linphone.ui.AddressAware;
|
||||||
|
@ -171,6 +171,10 @@ public class DialerActivity extends SoftVolumeActivity implements LinphoneGuiLis
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Fix call from contact issue
|
||||||
|
if (getIntent().getData().getSchemeSpecificPart() != null)
|
||||||
|
getIntent().setAction(Intent.ACTION_CALL);
|
||||||
|
|
||||||
newOutgoingCall(getIntent());
|
newOutgoingCall(getIntent());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue