Force Talkback to read symbols when autocorrecting

This commit is contained in:
Aleksandras Kostarevas 2024-09-23 16:35:58 +03:00
parent f152f6537c
commit db758a975d

View File

@ -185,9 +185,9 @@ public final class AccessibilityUtils {
if (shouldObscure) {
// This should never happen, but just in case...
return mContext.getString(R.string.spoken_auto_correct_obscured,
keyCodeDescription);
keyCodeDescription + "\u034F");
}
return mContext.getString(R.string.spoken_auto_correct, keyCodeDescription,
return mContext.getString(R.string.spoken_auto_correct, keyCodeDescription + "\u034F",
mTypedWord, mAutoCorrectionWord);
}
}