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

Commit e531a089 authored by Arc Wang's avatar Arc Wang Committed by Automerger Merge Worker
Browse files

Merge "Deprecate WifiTracker/AccessPoint" into rvc-dev am: 97ea7269 am: 2172c6f1

Change-Id: Ia2605bc369fede6445519a45a95545feddaa41f6
parents 7909ca9f 2172c6f1
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -83,7 +83,16 @@ import java.util.concurrent.atomic.AtomicInteger;
 * <p>An AccessPoint, which would be more fittingly named "WifiNetwork", is an aggregation of
 * <p>An AccessPoint, which would be more fittingly named "WifiNetwork", is an aggregation of
 * {@link ScanResult ScanResults} along with pertinent metadata (e.g. current connection info,
 * {@link ScanResult ScanResults} along with pertinent metadata (e.g. current connection info,
 * network scores) required to successfully render the network to the user.
 * network scores) required to successfully render the network to the user.
 *
 * @deprecated WifiTracker/AccessPoint is no longer supported, and will be removed in a future
 * release. Clients that need a dynamic list of available wifi networks should migrate to one of the
 * newer tracker classes,
 * {@link com.android.wifitrackerlib.WifiPickerTracker},
 * {@link com.android.wifitrackerlib.SavedNetworkTracker},
 * {@link com.android.wifitrackerlib.NetworkDetailsTracker},
 * in conjunction with {@link com.android.wifitrackerlib.WifiEntry} to represent each wifi network.
 */
 */
@Deprecated
public class AccessPoint implements Comparable<AccessPoint> {
public class AccessPoint implements Comparable<AccessPoint> {
    static final String TAG = "SettingsLib.AccessPoint";
    static final String TAG = "SettingsLib.AccessPoint";


+9 −0
Original line number Original line Diff line number Diff line
@@ -77,7 +77,16 @@ import java.util.stream.Collectors;


/**
/**
 * Tracks saved or available wifi networks and their state.
 * Tracks saved or available wifi networks and their state.
 *
 * @deprecated WifiTracker/AccessPoint is no longer supported, and will be removed in a future
 * release. Clients that need a dynamic list of available wifi networks should migrate to one of the
 * newer tracker classes,
 * {@link com.android.wifitrackerlib.WifiPickerTracker},
 * {@link com.android.wifitrackerlib.SavedNetworkTracker},
 * {@link com.android.wifitrackerlib.NetworkDetailsTracker},
 * in conjunction with {@link com.android.wifitrackerlib.WifiEntry} to represent each wifi network.
 */
 */
@Deprecated
public class WifiTracker implements LifecycleObserver, OnStart, OnStop, OnDestroy {
public class WifiTracker implements LifecycleObserver, OnStart, OnStop, OnDestroy {
    /**
    /**
     * Default maximum age in millis of cached scored networks in
     * Default maximum age in millis of cached scored networks in