Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f159c1a4 authored by Svetoslav's avatar Svetoslav
Browse files

Reverting change in accessibility focus behavior

bug:15995066

Change-Id: Ie22f203b9a95c3002188dacc3d753ff5d789ffd9
parent 2bd52dff
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -7240,9 +7240,6 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
            if (viewRootImpl != null) {
                viewRootImpl.setAccessibilityFocus(this, null);
            }
            Rect rect = (mAttachInfo != null) ? mAttachInfo.mTmpInvalRect : new Rect();
            getDrawingRect(rect);
            requestRectangleOnScreen(rect, false);
            invalidate();
            sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_ACCESSIBILITY_FOCUSED);
            return true;