Loading
Throttle content changed events only subtree changes
Previously accessibility events of TYPE_WINDOW_CONTENT_CHANGED were throttled in ViewRootImpl. It merges events from multiple nodes and destroys source node information. This makes multiple issues, for example: - accessibility services cannot deliver proper feedback, - view's onInitializeAccessibilityEvent is not correctly called, - AccessibilityCache is not correctly updated. This change limits the throttle only for subtree changes to prevent. Bug: 143889012 Bug: 277305460 Test: CtsAccessibilityTestCases CtsAccessibilityServiceTestCases Change-Id: Ic18cd4aa310ab37e40c6623625b59b4b9ebfea2f