diff options
author | Xiao Ma <xiaom@google.com> | 2019-07-24 16:27:50 +0900 |
---|---|---|
committer | Xiao Ma <xiaom@google.com> | 2019-12-11 11:26:49 +0900 |
commit | 859ceabd04daece392d42d37dbc2092cb88996f1 (patch) | |
tree | 2a2adec6473fee85f7aff6971238eb58beaff56e /src/android/net/util | |
parent | 762f239387423bf2250139f49972d2afa14c7428 (diff) |
Add Rapid Commit option support in DHCP Server side.
Bug:136216415
Test: atest FrameworksNetTests NetworkStackTests
Test: atest NetworkStackIntegrationTests
Test: manual tethering
Change-Id: I0f9483c72374bab271eb18549a1a41812f32f2dd
Diffstat (limited to 'src/android/net/util')
-rw-r--r-- | src/android/net/util/NetworkStackUtils.java | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/android/net/util/NetworkStackUtils.java b/src/android/net/util/NetworkStackUtils.java index 993f3cb..45ed367 100644 --- a/src/android/net/util/NetworkStackUtils.java +++ b/src/android/net/util/NetworkStackUtils.java @@ -112,13 +112,18 @@ public class NetworkStackUtils { public static final int CAPTIVE_PORTAL_MODE_AVOID = 2; /** - * Experiment flag to enable DHCP INIT-REBOOT state, default value is false. + * @deprecated Considering boolean experiment flag is likely to cause misconfiguration + * particularly when NetworkStack module rolls back to previous version. It's + * much safer to determine whether or not to enable one specific experimental + * feature by comparing flag version with module version. */ + @Deprecated public static final String DHCP_INIT_REBOOT_ENABLED = "dhcp_init_reboot_enabled"; /** - * Experiment flag to enable DHCP Rapid Commit option, default value is false. + * @deprecated See above explanation. */ + @Deprecated public static final String DHCP_RAPID_COMMIT_ENABLED = "dhcp_rapid_commit_enabled"; /** |