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

Commit be503699 authored by yingleiw's avatar yingleiw
Browse files

recreate a11y focused virtual node when findFocus

Added documentation that ViewRootImpl#mAccessibilityFocusedVirtualView
may be stale except for bounds and sourceNodeId. And recreate
the node when a11y services calls findFocus.

Checked other usages of mAccessibilityFocusedVirtualView(including
getter method) and verified they are OK.

Fix: b/192706021

Test: tested with Jetpack Compose progress indicator and radio button.
Without Jetpack Compose side workaround, this fix works well with
talkback google3 head.

Change-Id: I40c42011512e3d1fccd1ae8a16a62cbf500cf2ad
parent 3ec0a5a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment