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

Commit 2ad9e1d1 authored by Nalla Kartheek's avatar Nalla Kartheek Committed by Linux Build Service Account
Browse files

Wifi: Interface provision to configure Auto Connection

Auto connection dictates capability of hand-off between LTE and Wi-Fi
network and also selection of a specific Wi-Fi network. This commit
introduces an interface to the UI to set/reset this requirement
based on which the framework shall act accordingly.

Change-Id: I759837742a3bb9e2556790bb7af2e600e26db55b
CRs-Fixed: 982864
parent cea452fd
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -4202,6 +4202,7 @@ public final class Settings {
            MOVED_TO_GLOBAL.add(Settings.Global.DEFAULT_DNS_SERVER);
            MOVED_TO_GLOBAL.add(Settings.Global.PREFERRED_NETWORK_MODE);
            MOVED_TO_GLOBAL.add(Settings.Global.WEBVIEW_DATA_REDUCTION_PROXY_KEY);
            MOVED_TO_GLOBAL.add(Settings.Global.WIFI_AUTO_CONNECT_TYPE);
        }

        /** @hide */
@@ -7383,6 +7384,7 @@ public final class Settings {
        */
       public static final String WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON =
               "wifi_networks_available_notification_on";

       /**
        * {@hide}
        */
@@ -7511,6 +7513,14 @@ public final class Settings {
       public static final String WIFI_SUSPEND_OPTIMIZATIONS_ENABLED =
               "wifi_suspend_optimizations_enabled";

       /**
        * Setting to turn on auto connect . Enabled by default and
        * needs to be set to 1 to disable it.
        * @hide
        */
       public static final String WIFI_AUTO_CONNECT_TYPE =
               "wifi_auto_connect_type";

       /**
        * Setting to enable verbose logging in Wi-Fi; disabled by default, and setting to 1
        * will enable it. In the future, additional values may be supported.
+1 −0
Original line number Diff line number Diff line
@@ -416,6 +416,7 @@
         scan and wake the host when a configured SSID is detected by the dongle. This chipset
         capability can provide power savings when wifi needs to be always kept on. -->
    <bool translatable="false" name="config_wifi_background_scan_support">false</bool>
    <bool translatable="false" name="wifi_autocon">true</bool>

    <!-- Boolean indicating we re-try re-associating once upon disconnection and RSSI is high failure  -->
    <bool translatable="true" name="config_wifi_enable_disconnection_debounce">true</bool>
+1 −0
Original line number Diff line number Diff line
@@ -1691,6 +1691,7 @@
  <java-symbol type="bool" name="config_goToSleepOnButtonPressTheaterMode" />
  <java-symbol type="bool" name="config_supportLongPressPowerWhenNonInteractive" />
  <java-symbol type="bool" name="config_wifi_background_scan_support" />
  <java-symbol type="bool" name="wifi_autocon" />
  <java-symbol type="bool" name="config_wifi_dual_band_support" />
  <java-symbol type="bool" name="config_wifi_hotspot2_enabled" />
  <java-symbol type="bool" name="config_wimaxEnabled" />