Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix annoucement delayed to next character
Issue documented in comment #33468 (comment) calling requestSendAccessibilityEvent fixes the issue the logic was taken from TextView#setError which calls notifyViewAccessibilityStateChangedIfNeeded https://github.com/aosp-mirror/platform_frameworks_base/blob/1ac46f932ef88a8f96d652580d8105e361ffc842/core/java/android/widget/TextView.java#L7284 after some testing, calling the requestSendAccessibilityEvent on the parent view fixed the issue ``` mParent.requestSendAccessibilityEvent(this, event) ``` https://github.com/aosp-mirror/platform_frameworks_base/blob/1ac46f932ef88a8f96d652580d8105e361ffc842/core/java/android/view/View.java#L13710
- Loading branch information