The source of subtree chagnes should be the viewParent
From the description of notifySubtreeAccessibilityStateChangedIfNeeded: "is *not* local to this view and does represent structural changes such as children and parent." This is now how this currently behaves cause the source was the view itself. This had the consquence that if a view is hidden, no event would be sent, because the source of an accessibilityEvent can't be hidden. Test: CTSAccessibility* Added CTS Test in another CL. Played around with this build for a while. Bug: 130273130 Change-Id: I5522e8b1468e8999b615592f16c8d59634d9659f
Loading
Please register or sign in to comment