diff options
author | Robert Greenwalt <rgreenwalt@google.com> | 2014-06-18 18:57:32 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-06-17 21:43:29 +0000 |
commit | 19f01ebe90722487d72e4ef16375c661004b3087 (patch) | |
tree | 6fb4639f170c94290d53f8a579f3d4678c1a671c /telephony | |
parent | 779d2cffbce3946f6397f2b44a060c9775a2991b (diff) | |
parent | e356825e4a92e045a51d09b63e31dd9ce8e83d5a (diff) | |
download | frameworks_base-19f01ebe90722487d72e4ef16375c661004b3087.zip frameworks_base-19f01ebe90722487d72e4ef16375c661004b3087.tar.gz frameworks_base-19f01ebe90722487d72e4ef16375c661004b3087.tar.bz2 |
Merge "Remove Obsolete enable/disableApn functions."
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 22 | ||||
-rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephony.aidl | 21 |
2 files changed, 0 insertions, 43 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 3fde36e..124a8ec 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -3035,28 +3035,6 @@ public class TelephonyManager { /** @hide */ @SystemApi - public int enableApnType(String type) { - try { - return getITelephony().enableApnType(type); - } catch (RemoteException e) { - Log.e(TAG, "Error calling ITelephony#enableApnType", e); - } - return PhoneConstants.APN_REQUEST_FAILED; - } - - /** @hide */ - @SystemApi - public int disableApnType(String type) { - try { - return getITelephony().disableApnType(type); - } catch (RemoteException e) { - Log.e(TAG, "Error calling ITelephony#disableApnType", e); - } - return PhoneConstants.APN_REQUEST_FAILED; - } - - /** @hide */ - @SystemApi public boolean enableDataConnectivity() { try { return getITelephony().enableDataConnectivity(); diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 407da87..beee616 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -310,27 +310,6 @@ interface ITelephony { */ void disableLocationUpdatesUsingSubId(long subId); - - /** - * Enable a specific APN type. - */ - int enableApnType(String type); - - /** - * Disable a specific APN type. - */ - int disableApnType(String type); - - /** - * Enable a specific APN type with subscription. - */ - int enableApnTypeUsingSub(long subId, String type); - - /** - * Disable a specific APN type with subscription. - */ - int disableApnTypeUsingSub(long subId, String type); - /** * Allow mobile data connections. */ |