Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7ce8238 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5768201 from 1c836aad to qt-c2f2-release

Change-Id: I8b5c60a9db68aa8a6da5392dd94016017fbba24e
parents 5128d1f5 1c836aad
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -332,9 +332,9 @@ public class DhcpClient extends StateMachine {
     *
     */
    public boolean isDhcpLeaseCacheEnabled() {
        // TODO: call DeviceConfig.getProperty(DeviceConfig.NAMESPACE_CONNECTIVITY,
        //                    DeviceConfig.PROPERTY);
        // to fetch the dynamic experiment flag value. Return false by default.
        mDhcpLeaseCacheEnabled = Boolean.parseBoolean(NetworkStackUtils.getDeviceConfigProperty(
                NetworkStackUtils.NAMESPACE_CONNECTIVITY,
                NetworkStackUtils.DHCP_INIT_REBOOT_ENABLED, "false"));
        return mDhcpLeaseCacheEnabled;
    }

+5 −0
Original line number Diff line number Diff line
@@ -108,6 +108,11 @@ public class NetworkStackUtils {
     */
    public static final int CAPTIVE_PORTAL_MODE_AVOID = 2;

    /**
     * Experiment flag to enable DHCP INIT-REBOOT state, default value is false.
     */
    public static final String DHCP_INIT_REBOOT_ENABLED = "dhcp_init_reboot_enabled";

    static {
        System.loadLibrary("networkstackutilsjni");
    }