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

Commit 94e93d2d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fine tune performance for notifyContentCapture()" into rvc-dev am: 2a7091d8 am: 3051a0a8

Change-Id: I7ae88f5ddb5cc5127492b62fe0706cff6693891f
parents f2cfb002 3051a0a8
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -14684,19 +14684,21 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
                }
            }
        }
        if (isAccessibilityPane()) {
        if (isVisible != oldVisible) {
            if (isAccessibilityPane()) {
                notifyViewAccessibilityStateChangedIfNeeded(isVisible
                        ? AccessibilityEvent.CONTENT_CHANGE_TYPE_PANE_APPEARED
                        : AccessibilityEvent.CONTENT_CHANGE_TYPE_PANE_DISAPPEARED);
            }
        }
            notifyAppearedOrDisappearedForContentCaptureIfNeeded(isVisible);
        if (!getSystemGestureExclusionRects().isEmpty() && isVisible != oldVisible) {
            if (!getSystemGestureExclusionRects().isEmpty()) {
                postUpdateSystemGestureExclusionRects();
            }
        }
    }
    /**
     * Returns the current visibility of the window this view is attached to