Revert "Replace use of AlertDialog.Builder with MaterialAlertDialogBuilder."

This reverts commit 9232eb7c16.
This commit is contained in:
Alex Hart
2021-08-30 09:12:20 -03:00
committed by Cody Henthorne
parent 32888fa00b
commit f71accea06
5 changed files with 7 additions and 11 deletions

View File

@@ -14,7 +14,6 @@ import androidx.annotation.WorkerThread;
import androidx.appcompat.app.AlertDialog;
import com.annimon.stream.Stream;
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import com.google.i18n.phonenumbers.NumberParseException;
import com.google.i18n.phonenumbers.PhoneNumberUtil;
import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber;
@@ -127,7 +126,7 @@ public final class ContactUtil {
values[i] = getPrettyPhoneNumber(choices.get(i).requireE164(), locale);
}
new MaterialAlertDialogBuilder(context)
new AlertDialog.Builder(context)
.setItems(values, ((dialog, which) -> callback.onSelected(choices.get(which))))
.create()
.show();