Merge "Replace dns_tls with private_dns_mode setting" am: 3d806790c4
am: f1799116c2 Change-Id: I3e0448c045eb1072d0cd70a163ca355786b21cc4
This commit is contained in:
@@ -619,6 +619,35 @@ public class ConnectivityManager {
|
|||||||
*/
|
*/
|
||||||
public static final int NETID_UNSET = 0;
|
public static final int NETID_UNSET = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Private DNS Mode values.
|
||||||
|
*
|
||||||
|
* The "private_dns_mode" global setting stores a String value which is
|
||||||
|
* expected to be one of the following.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String PRIVATE_DNS_MODE_OFF = "off";
|
||||||
|
/**
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String PRIVATE_DNS_MODE_OPPORTUNISTIC = "opportunistic";
|
||||||
|
/**
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String PRIVATE_DNS_MODE_PROVIDER_HOSTNAME = "hostname";
|
||||||
|
/**
|
||||||
|
* The default Private DNS mode.
|
||||||
|
*
|
||||||
|
* This may change from release to release or may become dependent upon
|
||||||
|
* the capabilities of the underlying platform.
|
||||||
|
*
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String PRIVATE_DNS_DEFAULT_MODE = PRIVATE_DNS_MODE_OPPORTUNISTIC;
|
||||||
|
|
||||||
private final IConnectivityManager mService;
|
private final IConnectivityManager mService;
|
||||||
/**
|
/**
|
||||||
* A kludge to facilitate static access where a Context pointer isn't available, like in the
|
* A kludge to facilitate static access where a Context pointer isn't available, like in the
|
||||||
|
|||||||
Reference in New Issue
Block a user