Merge "Fine tune performance for notifyContentCapture()" into rvc-dev am: 2a7091d896 am: 3051a0a8d9 am: f5b0460ad5
Change-Id: I55ad79df479cddf47154d01c247fb813dafeb2cd
This commit is contained in:
@@ -14684,17 +14684,19 @@ public class View implements Drawable.Callback, KeyEvent.Callback,
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isAccessibilityPane()) {
|
||||
if (isVisible != oldVisible) {
|
||||
|
||||
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) {
|
||||
postUpdateSystemGestureExclusionRects();
|
||||
notifyAppearedOrDisappearedForContentCaptureIfNeeded(isVisible);
|
||||
|
||||
if (!getSystemGestureExclusionRects().isEmpty()) {
|
||||
postUpdateSystemGestureExclusionRects();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user