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

Commit ba6f60d7 authored by Daniel's avatar Daniel
Browse files

Do null check before setting credman request

Bug: 326541705
Test: minor refactor
Change-Id: Ied3e4887d356f1992168bddc505269d28df98f89
parent e7c3efc7
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -10889,8 +10889,11 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            structure.setAutofillId(new AutofillId(getAutofillId(),
                    AccessibilityNodeInfo.getVirtualDescendantId(info.getSourceNodeId())));
        }
        structure.setCredentialManagerRequest(getCredentialManagerRequest(),
                getCredentialManagerCallback());
        if (getViewCredentialHandler() != null) {
            structure.setCredentialManagerRequest(
                    getViewCredentialHandler().getRequest(),
                    getViewCredentialHandler().getCallback());
        }
        CharSequence cname = info.getClassName();
        structure.setClassName(cname != null ? cname.toString() : null);
        structure.setContentDescription(info.getContentDescription());