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

Commit 1189a611 authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Fixed isVisibleToUserForAutofill() so it returns true by default."

parents b3b04fec a50d92ea
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -8807,6 +8807,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
    /**
     * Computes whether this virtual autofill view is visible to the user.
     *
     * <p><b>Note: </b>By default it returns {@code true}, but views providing a virtual hierarchy
     * view must override it.
     *
     * @return Whether the view is visible on the screen.
     */
    public boolean isVisibleToUserForAutofill(int virtualId) {
@@ -8819,7 +8822,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                }
            }
        }
        return false;
        return true;
    }
    /**