Talkback doesn't work when app is recording audio via AudioRecord

On the latest one UI system, talkback doesn’t read anything on screen if app is recording audio via AudioRecord. Is this a bug or an over-designed feature?

Repro steps:

  1. enable talkback
  2. start recording via AudioRecord in app (looks like talkback won’t be affected if your app is using other native recorder)
  3. talkback doesn’t read anything on screen. But if you re-enabled talkback, it starts working again…

Our app has a voice assistant that supports keyword spotting (voice activation like “ok google”/“hey siri”) which requires recording audio all the time when app is in the foreground. This talkback bug is blocking user from hearing talkback.

System software info:

Accessibility software info:

Could anyone help here?