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

Commit f6895743 authored by Mill Chen's avatar Mill Chen
Browse files

Deprecate Settings panels and its infrastructure

Bug: 328525899
Test: robotest
Change-Id: I30bc423e31e9202e70c509459f4397c296c8423f
parent 1acb8162
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -28,7 +28,10 @@ import java.util.List;

/**
 * Represents the data class needed to create a Settings Panel. See {@link PanelFragment}.
 *
 * @deprecated this is no longer used after V and will be removed.
 */
@Deprecated(forRemoval = true)
public interface PanelContent extends Instrumentable {

    int VIEW_TYPE_SLIDER = 1;
+3 −0
Original line number Diff line number Diff line
@@ -18,7 +18,10 @@ package com.android.settings.panel;
/**
 * PanelContentCallback provides a callback interface for {@link PanelFragment} to receive
 * events from {@link PanelContent}.
 *
 * @deprecated this is no longer used after V and will be removed.
 */
@Deprecated(forRemoval = true)
public interface PanelContentCallback {

    /**
+1 −0
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@ package com.android.settings.panel;
import android.content.Context;
import android.os.Bundle;

@Deprecated(forRemoval = true)
public interface PanelFeatureProvider {

    /**
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import android.util.FeatureFlagUtils;

import com.android.settings.Utils;

@Deprecated(forRemoval = true)
public class PanelFeatureProviderImpl implements PanelFeatureProvider {

    @Override
+2 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

@Deprecated(forRemoval = true)
public class PanelFragment extends Fragment {

    private static final String TAG = "PanelFragment";
@@ -519,6 +520,7 @@ public class PanelFragment extends Fragment {
        return mPanel.getViewType();
    }

    @Deprecated(forRemoval = true)
    class LocalPanelCallback implements PanelContentCallback {

        @Override
Loading