Loading api/current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -29046,7 +29046,6 @@ package android.telephony { method public boolean isSmsCapable(); method public void listen(android.telephony.PhoneStateListener, int); method public java.lang.String sendEnvelopeWithStatus(java.lang.String); method public boolean setCdmaSubscription(int); method public void setLine1NumberForDisplay(java.lang.String, java.lang.String); method public void setLine1NumberForDisplay(long, java.lang.String, java.lang.String); method public boolean setOperatorBrandOverride(java.lang.String, java.lang.String); telephony/java/android/telephony/TelephonyManager.java +0 −22 Original line number Diff line number Diff line Loading @@ -2966,28 +2966,6 @@ public class TelephonyManager { return false; } /** * Set the CDMA subscription source. * Used for device supporting both NV and RUIM for CDMA. * <p> * Requires Permission: * {@link android.Manifest.permission#MODIFY_PHONE_STATE MODIFY_PHONE_STATE} * Or the calling app has carrier privileges. @see #hasCarrierPrivileges * * @param subscriptionType the subscription type, 0 for RUIM, 1 for NV. * @return true on success; false on any failure. */ public boolean setCdmaSubscription(int subscriptionType) { try { return getITelephony().setCdmaSubscription(subscriptionType); } catch (RemoteException ex) { Rlog.e(TAG, "setCdmaSubscription RemoteException", ex); } catch (NullPointerException ex) { Rlog.e(TAG, "setCdmaSubscription NPE", ex); } return false; } /** * Values used to return status for hasCarrierPrivileges call. */ Loading telephony/java/com/android/internal/telephony/ITelephony.aidl +0 −9 Original line number Diff line number Diff line Loading @@ -642,15 +642,6 @@ interface ITelephony { */ boolean setPreferredNetworkType(int networkType); /** * Set the CDMA subscription source. * Used for device supporting both NV and RUIM for CDMA. * * @param subscriptionType the subscription type, 0 for RUIM, 1 for NV. * @return true on success; false on any failure. */ boolean setCdmaSubscription(int subscriptionType); /** * User enable/disable Mobile Data. * Loading Loading
api/current.txt +0 −1 Original line number Diff line number Diff line Loading @@ -29046,7 +29046,6 @@ package android.telephony { method public boolean isSmsCapable(); method public void listen(android.telephony.PhoneStateListener, int); method public java.lang.String sendEnvelopeWithStatus(java.lang.String); method public boolean setCdmaSubscription(int); method public void setLine1NumberForDisplay(java.lang.String, java.lang.String); method public void setLine1NumberForDisplay(long, java.lang.String, java.lang.String); method public boolean setOperatorBrandOverride(java.lang.String, java.lang.String);
telephony/java/android/telephony/TelephonyManager.java +0 −22 Original line number Diff line number Diff line Loading @@ -2966,28 +2966,6 @@ public class TelephonyManager { return false; } /** * Set the CDMA subscription source. * Used for device supporting both NV and RUIM for CDMA. * <p> * Requires Permission: * {@link android.Manifest.permission#MODIFY_PHONE_STATE MODIFY_PHONE_STATE} * Or the calling app has carrier privileges. @see #hasCarrierPrivileges * * @param subscriptionType the subscription type, 0 for RUIM, 1 for NV. * @return true on success; false on any failure. */ public boolean setCdmaSubscription(int subscriptionType) { try { return getITelephony().setCdmaSubscription(subscriptionType); } catch (RemoteException ex) { Rlog.e(TAG, "setCdmaSubscription RemoteException", ex); } catch (NullPointerException ex) { Rlog.e(TAG, "setCdmaSubscription NPE", ex); } return false; } /** * Values used to return status for hasCarrierPrivileges call. */ Loading
telephony/java/com/android/internal/telephony/ITelephony.aidl +0 −9 Original line number Diff line number Diff line Loading @@ -642,15 +642,6 @@ interface ITelephony { */ boolean setPreferredNetworkType(int networkType); /** * Set the CDMA subscription source. * Used for device supporting both NV and RUIM for CDMA. * * @param subscriptionType the subscription type, 0 for RUIM, 1 for NV. * @return true on success; false on any failure. */ boolean setCdmaSubscription(int subscriptionType); /** * User enable/disable Mobile Data. * Loading