Merge "Added the high usage hidden APIs back" into rvc-dev

This commit is contained in:
TreeHugger Robot
2020-03-05 02:40:34 +00:00
committed by Android (Google) Code Review

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