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

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

Merge "Also check if view visible to user before engaging fill" into oc-dev

parents 370b040c 01e1a629
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6844,7 +6844,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
        if (isAutofillable() && isAttachedToWindow()) {
            AutofillManager afm = getAutofillManager();
            if (afm != null) {
                if (enter && hasWindowFocus() && isFocused()) {
                if (enter && hasWindowFocus() && isFocused() && isVisibleToUser()) {
                    afm.notifyViewEntered(this);
                } else if (!hasWindowFocus() || !isFocused()) {
                    afm.notifyViewExited(this);