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

Commit 5135be67 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

Change-Id: I0904cd567a4e4f1a5ed320231d12a830ba3e1300
parents fb4bb309 2a7091d8
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