Skip to content

Commit b8fa76f

Browse files
committed
removed focusing of AztecText control as it's unneeded.
1 parent f65933f commit b8fa76f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/AztecTextAccessibilityDelegate.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ class AztecTextAccessibilityDelegate(private val aztecText: EditText) {
6262
private fun announceLine(lineOffset: Int) {
6363
if (!aztecText.isFocused || (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && !aztecText.isAccessibilityFocused)) {
6464
aztecText.sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_FOCUSED)
65-
aztecText.requestFocus()
6665
} else {
6766
val announcement = getTextAtLine(lineOffset).replace(Constants.IMG_STRING, mediaItemContentDescription)
6867
accessibilityManager.interrupt()

0 commit comments

Comments
 (0)