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

Commit 41561126 authored by Etan Cohen's avatar Etan Cohen Committed by Android (Google) Code Review
Browse files

Merge "[WIFI] Clarify getConfiguredNetworks behavior for Carrier Apps"

parents 06522fb4 999aa2af
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1176,7 +1176,9 @@ public class WifiManager {
     * {@link #removeNetworkSuggestions(List)} for new API to add Wi-Fi networks for consideration
     * when auto-connecting to wifi.
     * <b>Compatibility Note:</b> For applications targeting
     * {@link android.os.Build.VERSION_CODES#Q} or above, this API will always return an empty list.
     * {@link android.os.Build.VERSION_CODES#Q} or above, this API will return an empty list,
     * except to callers with Carrier privilege which will receive a restricted list only
     * containing configurations which they created.
     */
    @Deprecated
    @RequiresPermission(allOf = {ACCESS_COARSE_LOCATION, ACCESS_WIFI_STATE})