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

Commit 17a909ca authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unused WifiManager.deauthenticateNetwork"

parents 19f2f4be cfc5f677
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -80,8 +80,6 @@ interface IWifiManager

    int matchProviderWithCurrentNetwork(String fqdn);

    void deauthenticateNetwork(long holdoff, boolean ess);

    boolean removeNetwork(int netId, String packageName);

    boolean enableNetwork(int netId, boolean disableOthers, String packageName);
+0 −16
Original line number Diff line number Diff line
@@ -2105,22 +2105,6 @@ public class WifiManager {
        }
    }

    /**
     * Deauthenticate and set the re-authentication hold off time for the current network
     * @param holdoff hold off time in milliseconds
     * @param ess set if the hold off pertains to an ESS rather than a BSS
     * @hide
     *
     * TODO (140167680): This needs to be removed, the implementation is empty!
     */
    public void deauthenticateNetwork(long holdoff, boolean ess) {
        try {
            mService.deauthenticateNetwork(holdoff, ess);
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }
    }

    /**
     * Remove the specified network from the list of configured networks.
     * This may result in the asynchronous delivery of state change