Loading src/java/com/android/internal/telephony/SMSDispatcher.java +0 −23 Original line number Diff line number Diff line Loading @@ -860,29 +860,6 @@ public abstract class SMSDispatcher extends Handler { } } /** * Handles outbound message when the phone is not in service. * * @param ss Current service state. Valid values are: * OUT_OF_SERVICE * EMERGENCY_ONLY * POWER_OFF * @param sentIntent the PendingIntent to send the error to */ protected static void handleNotInService(int ss, PendingIntent sentIntent) { if (sentIntent != null) { try { if (ss == ServiceState.STATE_POWER_OFF) { sentIntent.send(RESULT_ERROR_RADIO_OFF); } else { sentIntent.send(RESULT_ERROR_NO_SERVICE); } } catch (CanceledException ex) { Rlog.e(TAG, "Failed to send result"); } } } /** * @param ss service state * @return The result error based on input service state for not in service error Loading Loading
src/java/com/android/internal/telephony/SMSDispatcher.java +0 −23 Original line number Diff line number Diff line Loading @@ -860,29 +860,6 @@ public abstract class SMSDispatcher extends Handler { } } /** * Handles outbound message when the phone is not in service. * * @param ss Current service state. Valid values are: * OUT_OF_SERVICE * EMERGENCY_ONLY * POWER_OFF * @param sentIntent the PendingIntent to send the error to */ protected static void handleNotInService(int ss, PendingIntent sentIntent) { if (sentIntent != null) { try { if (ss == ServiceState.STATE_POWER_OFF) { sentIntent.send(RESULT_ERROR_RADIO_OFF); } else { sentIntent.send(RESULT_ERROR_NO_SERVICE); } } catch (CanceledException ex) { Rlog.e(TAG, "Failed to send result"); } } } /** * @param ss service state * @return The result error based on input service state for not in service error Loading