Loading src/com/android/server/telecom/Call.java +8 −2 Original line number Diff line number Diff line Loading @@ -3317,9 +3317,15 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, return false; } if (!isSimCall()) { // Incoming calls to a specific sim can only respond back using SMS. return false; } // Is there a valid SMS application on the phone? if (mContext.getSystemService(TelephonyManager.class) .getAndUpdateDefaultRespondViaMessageApplication() == null) { TelephonyManager simTm = mContext.getSystemService(TelephonyManager.class) .createForPhoneAccountHandle(getTargetPhoneAccount()); if ((simTm == null) || (simTm.getAndUpdateDefaultRespondViaMessageApplication() == null)) { return false; } Loading Loading
src/com/android/server/telecom/Call.java +8 −2 Original line number Diff line number Diff line Loading @@ -3317,9 +3317,15 @@ public class Call implements CreateConnectionResponse, EventManager.Loggable, return false; } if (!isSimCall()) { // Incoming calls to a specific sim can only respond back using SMS. return false; } // Is there a valid SMS application on the phone? if (mContext.getSystemService(TelephonyManager.class) .getAndUpdateDefaultRespondViaMessageApplication() == null) { TelephonyManager simTm = mContext.getSystemService(TelephonyManager.class) .createForPhoneAccountHandle(getTargetPhoneAccount()); if ((simTm == null) || (simTm.getAndUpdateDefaultRespondViaMessageApplication() == null)) { return false; } Loading