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

Commit 186159de authored by Roshan Pius's avatar Roshan Pius Committed by android-build-merger
Browse files

Merge "WifiManager: Remove unused methods" am: efb7bec5 am: 718c90da

am: 4898225a

Change-Id: I7bc7504eaa93b25d6aec1b4b5e337a14085639e7
parents 3266e691 4898225a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -133,14 +133,8 @@ interface IWifiManager

    void setWifiApConfiguration(in WifiConfiguration wifiConfig);

    void addToBlacklist(String bssid);

    void clearBlacklist();

    Messenger getWifiServiceMessenger();

    String getConfigFile();

    void enableTdls(String remoteIPAddress, boolean enable);

    void enableTdlsWithMacAddress(String remoteMacAddress, boolean enable);
+0 −47
Original line number Diff line number Diff line
@@ -1617,41 +1617,6 @@ public class WifiManager {
        }
    }

    /**
     * Add a bssid to the supplicant blacklist
     *
     * This API is used by WifiWatchdogService
     *
     * @return {@code true} if the operation succeeds else {@code false}
     * @hide
     */
    public boolean addToBlacklist(String bssid) {
        try {
            mService.addToBlacklist(bssid);
            return true;
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }
    }

    /**
     * Clear the supplicant blacklist
     *
     * This API is used by WifiWatchdogService
     *
     * @return {@code true} if the operation succeeds else {@code false}
     * @hide
     */
    public boolean clearBlacklist() {
        try {
            mService.clearBlacklist();
            return true;
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }
    }


    /**
     * Enable/Disable TDLS on a specific local route.
     *
@@ -2149,18 +2114,6 @@ public class WifiManager {
    }


    /**
     * Returns the file in which IP and proxy configuration data is stored
     * @hide
     */
    public String getConfigFile() {
        try {
            return mService.getConfigFile();
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }
    }

    /**
     * Allows an application to keep the Wi-Fi radio awake.
     * Normally the Wi-Fi radio may turn off when the user has not used the device in a while.