mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-21 04:22:42 +08:00
We disabled ChipTouchHelper on purpose to workaround a Talkback issue but we didn't stop forwarding touch/hover events to ChipTouchHelper, which cause some Talkback logic work incorrectly on certain API levels. Adds a state variable to avoid using ChipTouchHelper when it's not registered as accessibility delegate to solve the issue. Resolves https://github.com/material-components/material-components-android/issues/2155 PiperOrigin-RevId: 383911836