Merge "Added the high usage hidden APIs back" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
899b5ea52a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user