Merge "Added the high usage hidden APIs back" into rvc-dev am: 899b5ea52a am: 5c2bc0758f

Change-Id: Iae411598e76ffddd16c654d293aaf36c95b74ee8
This commit is contained in:
Automerger Merge Worker
2020-03-05 03:14:46 +00:00

View File

@@ -2833,6 +2833,17 @@ public class TelephonyManager {
}
}
/**
* @hide
* @deprecated Use {@link #getNetworkCountryIso(int)} instead.
*/
@Deprecated
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.Q,
publicAlternatives = "Use {@link #getNetworkCountryIso(int)} instead.")
public String getNetworkCountryIsoForPhone(int phoneId) {
return getNetworkCountryIso(phoneId);
}
/*
* When adding a network type to the list below, make sure to add the correct icon to
* MobileSignalController.mapIconSets() as well as NETWORK_TYPES