Skip to content

Commit 87d7d94

Browse files
sganovAndroid (Google) Code Review
authored andcommitted
Merge "Accessibility focus should not scroll automatically." into jb-mr1-dev
2 parents bebefaa + a85236e commit 87d7d94

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

core/java/android/view/View.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6466,11 +6466,6 @@ public boolean requestAccessibilityFocus() {
64666466
if (viewRootImpl != null) {
64676467
viewRootImpl.setAccessibilityFocus(this, null);
64686468
}
6469-
if (mAttachInfo != null) {
6470-
Rect rectangle = mAttachInfo.mTmpInvalRect;
6471-
getDrawingRect(rectangle);
6472-
requestRectangleOnScreen(rectangle);
6473-
}
64746469
invalidate();
64756470
sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED);
64766471
notifyAccessibilityStateChanged();

0 commit comments

Comments
 (0)