use of android.telephony.ims.ImsReasonInfo in project android_frameworks_opt_telephony by LineageOS.
the class TelephonyTester method handleHandoverFailedIntent.
private void handleHandoverFailedIntent() {
// Attempt to get the active IMS call
ImsPhone imsPhone = (ImsPhone) mPhone;
if (imsPhone == null) {
return;
}
ImsPhoneCall imsPhoneCall = imsPhone.getForegroundCall();
if (imsPhoneCall == null) {
return;
}
ImsCall imsCall = imsPhoneCall.getImsCall();
if (imsCall == null) {
return;
}
imsCall.getImsCallSessionListenerProxy().callSessionHandoverFailed(imsCall.getCallSession(), TelephonyManager.NETWORK_TYPE_LTE, TelephonyManager.NETWORK_TYPE_IWLAN, new ImsReasonInfo());
}
Aggregations