We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 43fc2d3 + bc82385 commit ada259eCopy full SHA for ada259e
1 file changed
core/java/android/widget/TextView.java
@@ -1193,6 +1193,11 @@ public void setEnabled(boolean enabled) {
1193
}
1194
super.setEnabled(enabled);
1195
prepareCursorControllers();
1196
+ if (enabled) {
1197
+ // Make sure IME is updated with current editor info.
1198
+ InputMethodManager imm = InputMethodManager.peekInstance();
1199
+ if (imm != null) imm.restartInput(this);
1200
+ }
1201
1202
1203
/**
0 commit comments