Merge "Added the high usage hidden APIs back" am: 94189968e5

Change-Id: Idc61feb6c500d0a14798cbb6e76a859a221357b1
This commit is contained in:
Jack Yu
2020-03-19 17:33:19 +00:00
committed by Automerger Merge Worker

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
* MobileSignalController.mapIconSets() as well as NETWORK_TYPES