Loading core/java/android/view/ViewGroup.java +0 −2 Original line number Diff line number Diff line Loading @@ -4006,7 +4006,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager * @see #removeDetachedView(View, boolean) */ protected void detachViewFromParent(View child) { child.clearAccessibilityFocus(); removeFromArray(indexOfChild(child)); } Loading @@ -4028,7 +4027,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager * @see #removeDetachedView(View, boolean) */ protected void detachViewFromParent(int index) { getChildAt(index).clearAccessibilityFocus(); removeFromArray(index); } Loading core/java/android/view/ViewRootImpl.java +7 −1 Original line number Diff line number Diff line Loading @@ -2382,7 +2382,13 @@ public final class ViewRootImpl implements ViewParent, mAccessibilityFocusedHost.getDrawingRect(bounds); if (mView instanceof ViewGroup) { ViewGroup viewGroup = (ViewGroup) mView; try { viewGroup.offsetDescendantRectToMyCoords(mAccessibilityFocusedHost, bounds); } catch (IllegalArgumentException iae) { Log.e(TAG, "Temporary detached view that was neither removed not reattached: " + mAccessibilityFocusedHost); return; } } } else { if (mAccessibilityFocusedVirtualView == null) { Loading Loading
core/java/android/view/ViewGroup.java +0 −2 Original line number Diff line number Diff line Loading @@ -4006,7 +4006,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager * @see #removeDetachedView(View, boolean) */ protected void detachViewFromParent(View child) { child.clearAccessibilityFocus(); removeFromArray(indexOfChild(child)); } Loading @@ -4028,7 +4027,6 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager * @see #removeDetachedView(View, boolean) */ protected void detachViewFromParent(int index) { getChildAt(index).clearAccessibilityFocus(); removeFromArray(index); } Loading
core/java/android/view/ViewRootImpl.java +7 −1 Original line number Diff line number Diff line Loading @@ -2382,7 +2382,13 @@ public final class ViewRootImpl implements ViewParent, mAccessibilityFocusedHost.getDrawingRect(bounds); if (mView instanceof ViewGroup) { ViewGroup viewGroup = (ViewGroup) mView; try { viewGroup.offsetDescendantRectToMyCoords(mAccessibilityFocusedHost, bounds); } catch (IllegalArgumentException iae) { Log.e(TAG, "Temporary detached view that was neither removed not reattached: " + mAccessibilityFocusedHost); return; } } } else { if (mAccessibilityFocusedVirtualView == null) { Loading