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

Commit 88d40303 authored by Svet Ganov's avatar Svet Ganov Committed by android-build-merger
Browse files

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

am: d54f6552

Change-Id: Ic946eaf470506021263173d529e5cd35702e93a3
parents 491c034f d54f6552
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);