Merge "Stop focusing views before layout." into oc-dr1-dev
This commit is contained in:
@@ -13281,7 +13281,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
// about in case nothing has focus. even if this specific view
|
||||
// isn't focusable, it may contain something that is, so let
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user