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

Commit 2436cb76 authored by Phil Weaver's avatar Phil Weaver Committed by android-build-merger
Browse files

Merge "Stop focusing views before layout." into oc-dr1-dev

am: a5dab05b

Change-Id: If2bbb15d9609260272d74e3fc8c7de7c9789fa2d
parents 28440ed3 a5dab05b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -13281,7 +13281,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                // about in case nothing has focus.  even if this specific view
                // about in case nothing has focus.  even if this specific view
                // isn't focusable, it may contain something that is, so let
                // isn't focusable, it may contain something that is, so let
                // the root view try to give this focus if nothing else does.
                // the root view try to give this focus if nothing else does.
                if ((mParent != null)) {
                if ((mParent != null) && (mBottom > mTop) && (mRight > mLeft)) {
                    mParent.focusableViewAvailable(this);
                    mParent.focusableViewAvailable(this);
                }
                }
            }
            }