Merge "Added the high usage hidden APIs back"

This commit is contained in:
Jack Yu
2020-03-19 17:16:27 +00:00
committed by Gerrit Code Review

View File

@@ -2756,6 +2756,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 * When adding a network type to the list below, make sure to add the correct icon to
* MobileSignalController.mapIconSets() as well as NETWORK_TYPES * MobileSignalController.mapIconSets() as well as NETWORK_TYPES