Deprecated Wifi panel and relevant objects

Bug: 328529085
Test: robotest
Change-Id: I960718acbdf1d2be6c3b6b396cf2ac69d4aa3046
This commit is contained in:
Mill Chen
2024-05-06 22:12:23 +00:00
parent 1bd9cab5a0
commit 4c061771b7
8 changed files with 18 additions and 0 deletions

View File

@@ -32,7 +32,10 @@ import com.android.wifitrackerlib.WifiEntry.ConnectCallback;
/**
* This receiver helps connect to Wi-Fi network
*
* @deprecated this is not used after V and will be removed.
*/
@Deprecated(forRemoval = true)
public class ConnectToWifiHandler extends BroadcastReceiver {
static final String KEY_CHOSEN_WIFIENTRY_KEY = "key_chosen_wifientry_key";

View File

@@ -39,7 +39,10 @@ import java.util.List;
/**
* {@link SliceBackgroundWorker} for Wi-Fi, used by {@link WifiSlice}.
*
* @deprecated this is not used after V and will be removed.
*/
@Deprecated(forRemoval = true)
public class WifiScanWorker extends SliceBackgroundWorker<WifiSliceItem> implements
WifiPickerTracker.WifiPickerTrackerCallback, LifecycleOwner, WifiEntryCallback {

View File

@@ -70,7 +70,10 @@ import java.util.stream.Collectors;
/**
* {@link CustomSliceable} for Wi-Fi, used by generic clients.
*
* @deprecated This is not used after V and will be removed.
*/
@Deprecated(forRemoval = true)
public class WifiSlice implements CustomSliceable {
@VisibleForTesting

View File

@@ -26,7 +26,10 @@ import com.android.wifitrackerlib.WifiEntry;
/**
* The data set which is needed by a Wi-Fi Slice, it collects necessary data from {@link WifiEntry}
* and provides similar getter methods for corresponding data.
*
* @deprecated this is not used after V and will be removed.
*/
@Deprecated(forRemoval = true)
public class WifiSliceItem {
private final Context mContext;