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

Commit 8561a60d authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Fix view does not show fill dialog" into tm-qpr-dev am:...

Merge "Merge "Fix view does not show fill dialog" into tm-qpr-dev am: 5bca0e00" into tm-qpr-dev-plus-aosp am: a2caef3d

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19710492



Change-Id: If67122e23d28edec09bba8de4d47b36e9b696387
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents d39890fc a2caef3d
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -8303,7 +8303,14 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                    // We have not been laid out yet, hence cannot evaluate
                    // whether this view is visible to the user, we will do
                    // the evaluation once layout is complete.
                    if (!isLaidOut()) {
                    // Sometimes, views are already laid out, but it's still
                    // not visible to the user, we also do the evaluation once
                    // the view is visible. ex: There is a fade-in animation
                    // for the activity, the view will be laid out when the
                    // animation beginning. On the time, the view is not visible
                    // to the user. And then as the animation progresses, the view
                    // becomes visible to the user.
                    if (!isLaidOut() || !isVisibleToUser()) {
                        mPrivateFlags3 |= PFLAG3_NOTIFY_AUTOFILL_ENTER_ON_LAYOUT;
                    } else if (isVisibleToUser()) {
                        if (isFocused()) {