Loading telephony/java/android/telephony/TelephonyManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -1401,6 +1401,10 @@ public class TelephonyManager { * @hide pending API review */ public boolean isSmsCapable() { if (!SystemProperties.getBoolean(TelephonyProperties.PROPERTY_SMS_RECEIVE, true) && !SystemProperties.getBoolean(TelephonyProperties.PROPERTY_SMS_SEND, true)) { return false; } if (mContext == null) return true; return mContext.getResources().getBoolean( com.android.internal.R.bool.config_sms_capable); Loading Loading
telephony/java/android/telephony/TelephonyManager.java +4 −0 Original line number Diff line number Diff line Loading @@ -1401,6 +1401,10 @@ public class TelephonyManager { * @hide pending API review */ public boolean isSmsCapable() { if (!SystemProperties.getBoolean(TelephonyProperties.PROPERTY_SMS_RECEIVE, true) && !SystemProperties.getBoolean(TelephonyProperties.PROPERTY_SMS_SEND, true)) { return false; } if (mContext == null) return true; return mContext.getResources().getBoolean( com.android.internal.R.bool.config_sms_capable); Loading