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

Skip to content
Commit cfe91076 authored by Hiroki Sato's avatar Hiroki Sato
Browse files

Updates event source to important parent only when events are merged

This is a partial revert of CL [1].

CL [1] changed two things:
- Makes sure that event source is an important node when sending a
  SUBTREE_CHANGED events. This event type is always sent to services,
  This ensures that accessibility services can recognize event sources.
- Adds SUBTREE_CHANGED type to the event change types when events from
  multiple nodes are merged into one.

The primary motivation of [1] was to make sure AccessibilityCache is
correctly invalidated, and this is accomplished only by the second
change. Further, although the first change aims to provide more correct
behavior, it resulted in a regression of some performance metrics.
Thus, this CL reverts the first part of change.

[1] Ic71f22ed6f6f54f49810dc83dc85dcd492dfc104

Bug: 322652084
Bug: 277305460
Test: ABTD to check the preformance regression.
Test: CtsAccessibilityTestCases CtsAccessibilityServiceTestCases
Change-Id: I1d9d4f6b2e4a1f34a97a3cc562f1a9c12ef67aaf
parent 984306a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment