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

Commit fb5bc069 authored by Fan Zhang's avatar Fan Zhang
Browse files

Fix incorrect imports for AlertDialog

Test: robotests
Change-Id: Ic17121cfd4dbe2d15f6d2250649cc71b82aa2c15
parent 3889acd5
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

package com.android.settings;

import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
@@ -205,7 +204,7 @@ public class CustomListPreference extends ListPreference {
    public static class ConfirmDialogFragment extends InstrumentedDialogFragment {
        @Override
        public Dialog onCreateDialog(Bundle savedInstanceState) {
            return new AlertDialog.Builder(getActivity())
            return new Builder(getActivity())
                    .setMessage(getArguments().getCharSequence(Intent.EXTRA_TEXT))
                    .setPositiveButton(android.R.string.ok, new OnClickListener() {
                        @Override