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

Commit bfd00992 authored by Nalla Kartheek's avatar Nalla Kartheek
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: Id7f0fbd79b6df4b6021b894f2583e738c3d0a1d9
CRs-Fixed: 762408
parent 8fad208b
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2940,6 +2940,15 @@ public final class Settings {
         */
        public static final String EGG_MODE = "egg_mode";

         /**
         * Whether wifi settings will connect to access point automatically
         * 0 = automatically
         * 1 = manually
         * @hide
         */
        public static final String WIFI_AUTO_CONNECT_TYPE = "wifi_auto_connect_type";


        /**
         * Settings to backup. This is here so that it's in the same place as the settings
         * keys and easy to update.
@@ -2958,6 +2967,7 @@ public final class Settings {
            WIFI_STATIC_NETMASK,
            WIFI_STATIC_DNS1,
            WIFI_STATIC_DNS2,
            WIFI_AUTO_CONNECT_TYPE,
            BLUETOOTH_DISCOVERABILITY,
            BLUETOOTH_DISCOVERABILITY_TIMEOUT,
            DIM_SCREEN,
+2 −0
Original line number Diff line number Diff line
@@ -34,4 +34,6 @@
    <bool name="target_honeycomb_needs_options_menu">true</bool>
    <!-- Whether to enable softap extention feature -->
    <bool name="config_softap_extention">true</bool>
    <!-- Whether to enable auto connection feature -->
    <bool name="wifi_autocon">false</bool>
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -2231,4 +2231,6 @@

  <!-- From keyguard for showing am/pm in unlock screen -->
  <java-symbol type="bool" name="config_show_ampm_in_unlock_screen" />
  <!-- for wifi auto connection -->
  <java-symbol type="bool" name="wifi_autocon" />
</resources>