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

Commit 5e59d6e3 authored by Hugo Benichi's avatar Hugo Benichi
Browse files

WiFi: Remove deprecated stubs in AbstractWifiService

Bug: 122431221
Test: Compiled.
Change-Id: Icc7d4b0625ea9f7163a162b164ea582b465a81d1
parent cfbfd9bd
Loading
Loading
Loading
Loading
+1 −34
Original line number Diff line number Diff line
@@ -38,6 +38,7 @@ import android.os.IBinder;
import android.os.Messenger;
import android.os.RemoteException;
import android.os.ResultReceiver;
import android.os.RemoteException;
import android.os.WorkSource;

import java.util.List;
@@ -85,46 +86,12 @@ public abstract class AbstractWifiService extends IWifiManager.Stub {
        throw new UnsupportedOperationException();
    }

    /**
     * Returns a WifiConfiguration matching this ScanResult
     * @param scanResult a single ScanResult Object
     * @return
     * @deprecated use {@link #getAllMatchingWifiConfigs(List)} instead.
     */
    @Deprecated
    public WifiConfiguration getMatchingWifiConfig(ScanResult scanResult) {
        throw new UnsupportedOperationException();
    }

    /**
     * Returns all matching WifiConfigurations for this ScanResult.
     * @param scanResult a single ScanResult Object
     * @return
     * @deprecated use {@link #getAllMatchingWifiConfigs(List)} instead.
     */
    @Deprecated
    public List<WifiConfiguration> getAllMatchingWifiConfigs(ScanResult scanResult) {
        throw new UnsupportedOperationException();
    }

    @Override
    public Map<String, List<ScanResult>> getAllMatchingFqdnsForScanResults(
            List<ScanResult> scanResults) {
        throw new UnsupportedOperationException();
    }

    /**
     * Returns a list of Hotspot 2.0 OSU (Online Sign-Up) providers associated with the given AP.
     *
     * @param scanResult a single ScanResult Object
     * @return
     * @deprecated use {@link #getMatchingOsuProviders(List)} instead.
     */
    @Deprecated
    public List<OsuProvider> getMatchingOsuProviders(ScanResult scanResult) {
        throw new UnsupportedOperationException();
    }

    @Override
    public Map<OsuProvider, List<ScanResult>> getMatchingOsuProviders(
            List<ScanResult> scanResults) {