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

Commit 60969124 authored by Weng Su's avatar Weng Su
Browse files

Deprecated ProviderModelSlice

- Ignore unit tests to avoid flakiness

Bug: 384567451
Flag: EXEMPT bugfix
Test: Manual testing
  atest ProviderModelSliceTest
Change-Id: Icfc1f3bd5841487862bf4df30fb1664430361eec
parent 4bb068a9
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -63,9 +63,10 @@ import java.util.stream.Collectors;

/**
 * {@link CustomSliceable} for Wi-Fi and mobile data connection, used by generic clients.
 *
 * @deprecated This is not used after V and will be removed.
 */
// ToDo If the provider model become default design in the future, the code needs to refactor
// the whole structure and use new "data object", and then split provider model out of old design.
@Deprecated(forRemoval = true)
public class ProviderModelSlice extends WifiSlice {

    private static final String TAG = "ProviderModelSlice";
+3 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ import com.android.wifitrackerlib.WifiEntry;
import com.android.wifitrackerlib.WifiPickerTracker;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
@@ -75,6 +76,8 @@ import org.mockito.MockitoAnnotations;
import java.util.ArrayList;
import java.util.List;

@Deprecated(forRemoval = true)
@Ignore
@RunWith(AndroidJUnit4.class)
public class ProviderModelSliceTest {
    private static final Uri PROVIDER_MODEL_SLICE_URI =