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

Commit dc53b575 authored by Felipe Leme's avatar Felipe Leme
Browse files

Fixed View.notifyEnterOrExitForAutoFillIfNeeded()

It should not call notifyViewExited() when entering a view.

Test: manual verification
Test: atest CtsAutoFillServiceTestCases

Bug: 73078981

Change-Id: I8dedcf9ff8d01fdc53293ae6c062fb6f44fec858
parent 100d494b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7272,7 +7272,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                        // becomes true where it should issue notifyViewEntered().
                        afm.notifyViewEntered(this);
                    }
                } else if (!isFocused()) {
                } else if (!enter && !isFocused()) {
                    afm.notifyViewExited(this);
                }
            }