Deprecate Settings panels and its infrastructure
Bug: 328525899 Test: robotest Change-Id: I30bc423e31e9202e70c509459f4397c296c8423f
This commit is contained in:
@@ -29,7 +29,10 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Fake PanelContent for testing.
|
||||
*
|
||||
* @deprecated this is no longer used after V and will be removed.
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public class FakePanelContent implements PanelContent {
|
||||
|
||||
public static final String FAKE_ACTION = "fake_action";
|
||||
|
@@ -19,6 +19,7 @@ package com.android.settings.panel;
|
||||
import android.content.ComponentName;
|
||||
import android.content.Intent;
|
||||
|
||||
@Deprecated(forRemoval = true)
|
||||
public class FakeSettingsPanelActivity extends SettingsPanelActivity {
|
||||
@Override
|
||||
public ComponentName getCallingActivity() {
|
||||
|
@@ -54,6 +54,7 @@ import org.robolectric.annotation.Config;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
@Deprecated(forRemoval = true)
|
||||
@Ignore("b/313576125")
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
@Config(shadows = {
|
||||
|
@@ -67,6 +67,7 @@ import org.robolectric.annotation.Implements;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@Deprecated(forRemoval = true)
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
@Config(shadows = PanelSlicesAdapterTest.ShadowLayoutInflater.class)
|
||||
public class PanelSlicesAdapterTest {
|
||||
|
@@ -59,6 +59,7 @@ import org.robolectric.android.controller.ActivityController;
|
||||
import org.robolectric.annotation.Config;
|
||||
import org.robolectric.util.ReflectionHelpers;
|
||||
|
||||
@Deprecated(forRemoval = true)
|
||||
@RunWith(RobolectricTestRunner.class)
|
||||
@Config(shadows = {
|
||||
com.android.settings.testutils.shadow.ShadowFragment.class,
|
||||
|
@@ -29,6 +29,7 @@ import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@Deprecated(forRemoval = true)
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class PanelSlicesLoaderCountdownLatchTest {
|
||||
|
||||
|
Reference in New Issue
Block a user