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

Commit c3ddef9d authored by Oscar Shu's avatar Oscar Shu Committed by Android (Google) Code Review
Browse files

Merge "API cleanup - delete @removed methods"

parents 29a0bb92 48bd260b
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -142,10 +142,7 @@ package android.net.wifi {
  }

  public class WifiManager {
    method public deprecated java.util.List<android.net.wifi.BatchedScanResult> getBatchedScanResults();
    method public android.net.wifi.WifiConnectionStatistics getConnectionStatistics();
    method public deprecated boolean isBatchedScanSupported();
    method public deprecated boolean startLocationRestrictedScan(android.os.WorkSource);
  }

}
+0 −47
Original line number Diff line number Diff line
@@ -1614,53 +1614,6 @@ public class WifiManager {
        }
    }

    /**
     * startLocationRestrictedScan()
     * Trigger a scan which will not make use of DFS channels and is thus not suitable for
     * establishing wifi connection.
     * @deprecated This API is nolonger supported.
     * Use {@link android.net.wifi.WifiScanner} API
     * @hide
     * @removed
     */
    @Deprecated
    @SystemApi
    @SuppressLint("Doclava125")
    public boolean startLocationRestrictedScan(WorkSource workSource) {
        return false;
    }

    /**
     * Check if the Batched Scan feature is supported.
     *
     * @return false if not supported.
     * @deprecated This API is nolonger supported.
     * Use {@link android.net.wifi.WifiScanner} API
     * @hide
     * @removed
     */
    @Deprecated
    @SystemApi
    @SuppressLint("Doclava125")
    public boolean isBatchedScanSupported() {
        return false;
    }

    /**
     * Retrieve the latest batched scan result.  This should be called immediately after
     * {@link BATCHED_SCAN_RESULTS_AVAILABLE_ACTION} is received.
     * @deprecated This API is nolonger supported.
     * Use {@link android.net.wifi.WifiScanner} API
     * @hide
     * @removed
     */
    @Deprecated
    @SystemApi
    @SuppressLint("Doclava125")
    public List<BatchedScanResult> getBatchedScanResults() {
        return null;
    }

    /**
     * Creates a configuration token describing the current network of MIME type
     * application/vnd.wfa.wsc. Can be used to configure WiFi networks via NFC.