Merge "Add global setting to use new DHCPv4 server"

This commit is contained in:
Remi NGUYEN VAN
2018-08-29 06:24:40 +00:00
committed by Gerrit Code Review
2 changed files with 12 additions and 0 deletions

View File

@@ -9465,6 +9465,17 @@ public final class Settings {
*/
public static final String TETHER_OFFLOAD_DISABLED = "tether_offload_disabled";
/**
* Use the old dnsmasq DHCP server for tethering instead of the framework implementation.
*
* Integer values are interpreted as boolean, and the absence of an explicit setting
* is interpreted as |true|.
* TODO: make the default |false|
* @hide
*/
public static final String TETHER_ENABLE_LEGACY_DHCP_SERVER =
"tether_enable_legacy_dhcp_server";
/**
* List of certificate (hex string representation of the application's certificate - SHA-1
* or SHA-256) and carrier app package pairs which are whitelisted to prompt the user for

View File

@@ -423,6 +423,7 @@ public class SettingsBackupTest {
Settings.Global.TETHER_DUN_REQUIRED,
Settings.Global.TETHER_OFFLOAD_DISABLED,
Settings.Global.TETHER_SUPPORTED,
Settings.Global.TETHER_ENABLE_LEGACY_DHCP_SERVER,
Settings.Global.TEXT_CLASSIFIER_CONSTANTS,
Settings.Global.THEATER_MODE_ON,
Settings.Global.TIME_ONLY_MODE_CONSTANTS,