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
But this line in onCreate of Launcher Activity
onCreate
Activity
Kotlin:
ViewCompat.setImportantForAccessibility(window.decorView, ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_NO)
Java:
ViewCompat.setImportantForAccessibility(getWindow().getDecorView(), ViewCompat.IMPORTANT_FOR_ACCESSIBILITY_NO);
This worked for me.