Merge "Revert "[Settings] Remove CarrierConfigManager.Apn.KEY_PREFIX from API"" into sc-dev
This commit is contained in:
@@ -40884,6 +40884,7 @@ package android.telephony {
|
||||
}
|
||||
|
||||
public static final class CarrierConfigManager.Apn {
|
||||
field @Deprecated public static final String KEY_PREFIX = "apn.";
|
||||
field public static final String KEY_SETTINGS_DEFAULT_PROTOCOL_STRING = "apn.settings_default_protocol_string";
|
||||
field public static final String KEY_SETTINGS_DEFAULT_ROAMING_PROTOCOL_STRING = "apn.settings_default_roaming_protocol_string";
|
||||
field public static final String PROTOCOL_IPV4 = "IP";
|
||||
|
||||
@@ -1717,8 +1717,14 @@ public class CarrierConfigManager {
|
||||
* Configs used for APN setup.
|
||||
*/
|
||||
public static final class Apn {
|
||||
/** Prefix of all Apn.KEY_* constants. */
|
||||
private static final String KEY_PREFIX = "apn.";
|
||||
/**
|
||||
* Prefix of all Apn.KEY_* constants.
|
||||
*
|
||||
* @deprecated Since KEY_PREFIX is unnecessary to public, it will modify to private
|
||||
* next android generation.
|
||||
*/
|
||||
@Deprecated
|
||||
public static final String KEY_PREFIX = "apn.";
|
||||
|
||||
/** IPv4 internet protocol */
|
||||
public static final String PROTOCOL_IPV4 = "IP";
|
||||
|
||||
Reference in New Issue
Block a user