Loading src/com/android/server/telecom/Call.java +2 −8 Original line number Diff line number Diff line Loading @@ -3317,15 +3317,9 @@ 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? TelephonyManager simTm = mContext.getSystemService(TelephonyManager.class) .createForPhoneAccountHandle(getTargetPhoneAccount()); if ((simTm == null) || (simTm.getAndUpdateDefaultRespondViaMessageApplication() == null)) { if (mContext.getSystemService(TelephonyManager.class) .getAndUpdateDefaultRespondViaMessageApplication() == null) { return false; } Loading Loading
src/com/android/server/telecom/Call.java +2 −8 Original line number Diff line number Diff line Loading @@ -3317,15 +3317,9 @@ 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? TelephonyManager simTm = mContext.getSystemService(TelephonyManager.class) .createForPhoneAccountHandle(getTargetPhoneAccount()); if ((simTm == null) || (simTm.getAndUpdateDefaultRespondViaMessageApplication() == null)) { if (mContext.getSystemService(TelephonyManager.class) .getAndUpdateDefaultRespondViaMessageApplication() == null) { return false; } Loading