Loading core/java/android/view/View.java +2 −2 Original line number Diff line number Diff line Loading @@ -9035,10 +9035,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback, */ mPrivateFlags |= PFLAG_DRAWN; if (((mViewFlags & VISIBILITY_MASK) == INVISIBLE) && hasFocus()) { if (((mViewFlags & VISIBILITY_MASK) == INVISIBLE)) { // root view becoming invisible shouldn't clear focus and accessibility focus if (getRootView() != this) { clearFocus(); if (hasFocus()) clearFocus(); clearAccessibilityFocus(); } } Loading Loading
core/java/android/view/View.java +2 −2 Original line number Diff line number Diff line Loading @@ -9035,10 +9035,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback, */ mPrivateFlags |= PFLAG_DRAWN; if (((mViewFlags & VISIBILITY_MASK) == INVISIBLE) && hasFocus()) { if (((mViewFlags & VISIBILITY_MASK) == INVISIBLE)) { // root view becoming invisible shouldn't clear focus and accessibility focus if (getRootView() != this) { clearFocus(); if (hasFocus()) clearFocus(); clearAccessibilityFocus(); } } Loading