Android - Preventing TalkBack to read the application Name and current Orientation

后端 未结 6 1657
死守一世寂寞
死守一世寂寞 2021-02-20 15:14

Problem is I am using TTS to read a long string message when my activity is launched, but TalkBack automatically reads the application name in the middle of it and cuts the long

6条回答
  •  情深已故
    2021-02-20 16:09

    A solution would be to override dispatchPopulateAccessibilityEvent() in Activity to return true. This will prevent Talkback from announcing activity label.

提交回复
热议问题