Rename setGlobalPreferredNetworkType to setPreferredNetworkTypeToGlobal per API council.

Bug: b/18983535
Change-Id: I937b7ce38615e07f653d3ee02d734edfcfea3897
This commit is contained in:
Junda Liu
2015-01-13 13:50:25 -08:00
parent ef04ae79af
commit 3fb3abd10a
2 changed files with 2 additions and 4 deletions

View File

@@ -3099,7 +3099,7 @@ public class TelephonyManager {
*
* @return true on success; false on any failure.
*/
public boolean setGlobalPreferredNetworkType() {
public boolean setPreferredNetworkTypeToGlobal() {
return setPreferredNetworkType(RILConstants.NETWORK_MODE_LTE_CDMA_EVDO_GSM_WCDMA);
}
@@ -3142,8 +3142,6 @@ public class TelephonyManager {
* call will return true. This access is granted by the owner of the UICC
* card and does not depend on the registered carrier.
*
* TODO: Add a link to documentation.
*
* @return true if the app has carrier privileges.
*/
public boolean hasCarrierPrivileges() {