Settings Fragment Migration (Build pass app)
This patch focused on fixing compile errors and some runtime errors. Test: We can't test it now. But we will have an integration test later. Bug: 110259478 Change-Id: I16c471ddcd0fa1460c665b7f74d86fcace5ee67b
This commit is contained in:
@@ -81,9 +81,8 @@ public class NetworkDashboardFragment extends DashboardFragment implements
|
||||
|
||||
@Override
|
||||
protected List<AbstractPreferenceController> createPreferenceControllers(Context context) {
|
||||
return buildPreferenceControllers(context, getLifecycle(), mMetricsFeatureProvider, this
|
||||
/* fragment */,
|
||||
this /* mobilePlanHost */);
|
||||
return buildPreferenceControllers(context, getSettingsLifecycle(), mMetricsFeatureProvider,
|
||||
this /* fragment */, this /* mobilePlanHost */);
|
||||
}
|
||||
|
||||
private static List<AbstractPreferenceController> buildPreferenceControllers(Context context,
|
||||
|
||||
@@ -45,7 +45,7 @@ import com.android.internal.logging.nano.MetricsProto;
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.overlay.FeatureFactory;
|
||||
import com.android.settings.utils.AnnotationSpan;
|
||||
import com.android.settingslib.CustomDialogPreference;
|
||||
import com.android.settingslib.CustomDialogPreferenceCompat;
|
||||
import com.android.settingslib.HelpUtils;
|
||||
|
||||
import java.util.HashMap;
|
||||
@@ -56,7 +56,7 @@ import androidx.annotation.VisibleForTesting;
|
||||
/**
|
||||
* Dialog to set the Private DNS
|
||||
*/
|
||||
public class PrivateDnsModeDialogPreference extends CustomDialogPreference implements
|
||||
public class PrivateDnsModeDialogPreference extends CustomDialogPreferenceCompat implements
|
||||
DialogInterface.OnClickListener, RadioGroup.OnCheckedChangeListener, TextWatcher {
|
||||
|
||||
public static final String ANNOTATION_URL = "url";
|
||||
|
||||
Reference in New Issue
Block a user