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

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

Wifi: Interface provision to configure the 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: I223166ebf2d0303a0f5344df7cf7d13c79f65a41
CRs-Fixed: 762408
parent ec43b6d8
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -3238,6 +3238,15 @@ public final class Settings {
         * the setting value. See an example above.
         */

         /**
         * 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.
@@ -3290,7 +3299,8 @@ public final class Settings {
            VIBRATE_WHEN_RINGING,
            RINGTONE,
            LOCK_TO_APP_ENABLED,
            NOTIFICATION_SOUND
            NOTIFICATION_SOUND,
            WIFI_AUTO_CONNECT_TYPE
        };

        /**
+2 −0
Original line number Diff line number Diff line
@@ -31,4 +31,6 @@
    <bool name="allow_stacked_button_bar">false</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
@@ -2357,4 +2357,6 @@
  <java-symbol type="integer" name="ascrollboost_timeout" />
  <java-symbol type="array" name="ascrollboost_param_value" />

  <!-- for wifi auto connection -->
  <java-symbol type="bool" name="wifi_autocon" />
</resources>