Rename setGlobalPreferredNetworkType to setPreferredNetworkTypeToGlobal per API council.
Bug: b/18983535 Change-Id: I937b7ce38615e07f653d3ee02d734edfcfea3897
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user