Skip to content

Commit bc82385

Browse files
author
Dianne Hackborn
committed
Fix issue #5260129: Suggestion strip in Talk app not showing all the time
Change-Id: Ibac6138f3b3b0c3850a30d2c432495aa57b7f3f1
1 parent a939097 commit bc82385

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)