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

Commit aad5f8e0 authored by Diya Bera's avatar Diya Bera
Browse files

Expressive style for Identity Check error dialogs

Changing the alert dialog to android-x should change the styling to be
compliant with the expressive styling as per https://docs.google.com/document/d/1S6iYFjcJIPLyg3kXTs1IGV3z-1-Pta5ZIuDPTlzNY-k/edit?pli=1&resourcekey=0-BvN0bgpiIyt-ev25eOKrGw&tab=t.0#bookmark=id.oegme9eaogmj

Flag: EXEMPT Styling has been guarded by the is_expressive_design_enabled flag
Test: N/A
Bug: 396443114

Change-Id: I4f8e835a08698aa7e667204d982778396fd75837
parent 5ca369a2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ package com.android.settings.biometrics;

import android.annotation.NonNull;
import android.annotation.Nullable;
import android.app.AlertDialog;
import androidx.appcompat.app.AlertDialog;
import android.app.Dialog;
import android.app.admin.DevicePolicyManager;
import android.content.BroadcastReceiver;
@@ -186,7 +186,8 @@ public class IdentityCheckBiometricErrorDialog extends InstrumentedDialogFragmen
            @Override
            public void onClick(View textView) {
                dismiss();
                final Intent autoLockSettingsIntent = new Intent(mActionIdentityCheckSettings);
                final Intent autoLockSettingsIntent = new Intent(mActionIdentityCheckSettings)
                        .setPackage(mIdentityCheckSettingsPackageName);
                final ResolveInfo autoLockSettingsInfo = getActivity().getPackageManager()
                        .resolveActivity(autoLockSettingsIntent, 0 /* flags */);
                if (autoLockSettingsInfo != null) {