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

Commit 697e762e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "wlan: Provide runtime option to enable or disable rssi threshold (base)""

parents ea0f2aee b39368cd
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -5930,13 +5930,6 @@ public final class Settings {
       public static final String WIFI_SCAN_ALWAYS_AVAILABLE =
                "wifi_scan_always_enabled";

       /**
        * Setting to allow enable or disable rssi threshold.
        * @hide
        */
       public static final String WIFI_RSSI_THRESHOLD =
                "wifi_rssi_threshold";

       /**
        * Used to save the Wifi_ON state prior to tethering.
        * This state will be checked to restore Wifi after
+0 −2
Original line number Diff line number Diff line
@@ -141,8 +141,6 @@ interface IWifiManager

    void enableVerboseLogging(int verbose);

    void enableRssiThreshold(int enabled);

    int getVerboseLoggingLevel();

    int getAggressiveHandover();
+0 −13
Original line number Diff line number Diff line
@@ -2479,19 +2479,6 @@ public class WifiManager {
        }
    }

    /**
     * Set wifi rssi threshold. Called from advance wifi settings.
     * @hide
     */
    public void enableRssiThreshold (int enabled) {
        try {
            mService.enableRssiThreshold(enabled);
        } catch (Exception e) {
            //ignore any failure here
            Log.e(TAG, "enableRssiThreshold " + e.toString());
        }
    }

    /**
     * Get the WiFi verbose logging level.This is used by settings
     * to decide what to show within the picker.