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

Commit 83478acb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Check for mAttachInfo nullness when getting the autofillable drawable." into oc-dev

parents cb414be0 354587a9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20506,6 +20506,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     * @throws IllegalStateException if the drawable could not be found.
     */
    @Nullable private Drawable getAutofilledDrawable() {
        if (mAttachInfo == null) {
            return null;
        }
        // Lazily load the isAutofilled drawable.
        if (mAttachInfo.mAutofilledDrawable == null) {
            Context rootContext = getRootView().getContext();