Skip to content

Commit ada259e

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "Fix issue #5260129: Suggestion strip in Talk app not showing all the time"
2 parents 43fc2d3 + bc82385 commit ada259e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

core/java/android/widget/TextView.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,11 @@ public void setEnabled(boolean enabled) {
11931193
}
11941194
super.setEnabled(enabled);
11951195
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+
}
11961201
}
11971202

11981203
/**

0 commit comments

Comments
 (0)