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

Commit 86388ef9 authored by Sally Yuen's avatar Sally Yuen Committed by Automerger Merge Worker
Browse files

Merge "Use isAggregatedVisible for pane events" into tm-dev am: f85808dd

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16944496

Change-Id: Ide6ceaba6733ae63c43787fe766117b602d5d346
parents 5c116e00 f85808dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -14173,7 +14173,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                && isAccessibilityPane()) {
            // If the pane isn't visible, content changed events are sufficient unless we're
            // reporting that the view just disappeared
            if ((getVisibility() == VISIBLE)
            if ((isAggregatedVisible())
                    || (changeType == AccessibilityEvent.CONTENT_CHANGE_TYPE_PANE_DISAPPEARED)) {
                final AccessibilityEvent event = AccessibilityEvent.obtain();
                onInitializeAccessibilityEvent(event);