Loading telephony/java/android/telephony/SmsManager.java +3 −3 Original line number Diff line number Diff line Loading @@ -2894,7 +2894,7 @@ public final class SmsManager { getSubscriptionId(), null); } } catch (RemoteException ex) { // ignore it throw new RuntimeException(ex); } return smsc; } Loading @@ -2916,7 +2916,7 @@ public final class SmsManager { * </p> * * @param smsc the SMSC address string. * @return true for success, false otherwise. * @return true for success, false otherwise. Failure can be due modem returning an error. */ @SuppressAutoDoc // for carrier privileges and default SMS application. @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) Loading @@ -2928,7 +2928,7 @@ public final class SmsManager { smsc, getSubscriptionId(), null); } } catch (RemoteException ex) { // ignore it throw new RuntimeException(ex); } return false; } Loading Loading
telephony/java/android/telephony/SmsManager.java +3 −3 Original line number Diff line number Diff line Loading @@ -2894,7 +2894,7 @@ public final class SmsManager { getSubscriptionId(), null); } } catch (RemoteException ex) { // ignore it throw new RuntimeException(ex); } return smsc; } Loading @@ -2916,7 +2916,7 @@ public final class SmsManager { * </p> * * @param smsc the SMSC address string. * @return true for success, false otherwise. * @return true for success, false otherwise. Failure can be due modem returning an error. */ @SuppressAutoDoc // for carrier privileges and default SMS application. @RequiresPermission(android.Manifest.permission.MODIFY_PHONE_STATE) Loading @@ -2928,7 +2928,7 @@ public final class SmsManager { smsc, getSubscriptionId(), null); } } catch (RemoteException ex) { // ignore it throw new RuntimeException(ex); } return false; } Loading