am 87d7d946: Merge "Accessibility focus should not scroll automatically." into jb-mr1-dev

* commit '87d7d94673512c9572fa62c2842ce20bc87bf8b9':
  Accessibility focus should not scroll automatically.
This commit is contained in:
Svetoslav Ganov
2012-10-02 12:08:45 -07:00
committed by Android Git Automerger

View File

@@ -6466,11 +6466,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
if (viewRootImpl != null) {
viewRootImpl.setAccessibilityFocus(this, null);
}
if (mAttachInfo != null) {
Rect rectangle = mAttachInfo.mTmpInvalRect;
getDrawingRect(rectangle);
requestRectangleOnScreen(rectangle);
}
invalidate();
sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED);
notifyAccessibilityStateChanged();