Merge "Fix issue #5260129: Suggestion strip in Talk app not showing all the time"
This commit is contained in:
committed by
Android (Google) Code Review
commit
ada259ebee
@@ -1193,6 +1193,11 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
}
|
||||
super.setEnabled(enabled);
|
||||
prepareCursorControllers();
|
||||
if (enabled) {
|
||||
// Make sure IME is updated with current editor info.
|
||||
InputMethodManager imm = InputMethodManager.peekInstance();
|
||||
if (imm != null) imm.restartInput(this);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user