diff options
author | Jake Hamby <jhamby@google.com> | 2014-03-03 13:27:20 -0800 |
---|---|---|
committer | Jake Hamby <jhamby@google.com> | 2014-03-03 13:27:20 -0800 |
commit | 4a2fa35a6ad03d5ee1cd03ae94b4e7d70b50811c (patch) | |
tree | 3ec3e712e95f61c9faeb0a3b3b12e4e0baee84f3 /telephony/java/com | |
parent | 03c6628f40a2e56a214990da127242707ff02b73 (diff) | |
download | frameworks_base-4a2fa35a6ad03d5ee1cd03ae94b4e7d70b50811c.zip frameworks_base-4a2fa35a6ad03d5ee1cd03ae94b4e7d70b50811c.tar.gz frameworks_base-4a2fa35a6ad03d5ee1cd03ae94b4e7d70b50811c.tar.bz2 |
Add get/setPreferredNetworkType() for OMA DM client.
Add get/setPreferredNetworkType() commands for OMA DM client.
Bug: 8847590
Change-Id: Ia898d712b90ec583d61efe7385a5a1844d8beff1
Diffstat (limited to 'telephony/java/com')
-rw-r--r-- | telephony/java/com/android/internal/telephony/ITelephony.aidl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 554a9cb..7c338ac 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -403,4 +403,21 @@ interface ITelephony { * @return true on success; false on any failure. */ boolean nvResetConfig(int resetType); + + /** + * Get the preferred network type. + * Used for device configuration by some CDMA operators. + * + * @return the preferred network type, defined in RILConstants.java. + */ + int getPreferredNetworkType(); + + /** + * Set the preferred network type. + * Used for device configuration by some CDMA operators. + * + * @param networkType the preferred network type, defined in RILConstants.java. + * @return true on success; false on any failure. + */ + boolean setPreferredNetworkType(int networkType); } |