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

Commit daf0e11c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make sure checking for accessibility pane is consistent"

parents 5fc82e8a c7f8833c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -7547,7 +7547,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
     */
    public void onPopulateAccessibilityEventInternal(AccessibilityEvent event) {
        if ((event.getEventType() == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED)
                && !TextUtils.isEmpty(getAccessibilityPaneTitle())) {
                && isAccessibilityPane()) {
            event.getText().add(getAccessibilityPaneTitle());
        }
    }
@@ -12963,7 +12963,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                }
            }
        }
        if (!TextUtils.isEmpty(getAccessibilityPaneTitle())) {
        if (isAccessibilityPane()) {
            if (isVisible != oldVisible) {
                notifyViewAccessibilityStateChangedIfNeeded(isVisible
                        ? AccessibilityEvent.CONTENT_CHANGE_TYPE_PANE_APPEARED