зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1000618 - Restart input after hiding it during blur. r=lucasr
This commit is contained in:
Родитель
f2d6f40bf1
Коммит
513a1f1f4d
|
@ -109,8 +109,10 @@ public class ToolbarEditText extends CustomEditText
|
|||
return;
|
||||
}
|
||||
|
||||
InputMethodManager imm = (InputMethodManager) mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
InputMethodManager imm = (InputMethodManager)
|
||||
mContext.getSystemService(Context.INPUT_METHOD_SERVICE);
|
||||
try {
|
||||
imm.restartInput(this);
|
||||
imm.hideSoftInputFromWindow(getWindowToken(), 0);
|
||||
} catch (NullPointerException e) {
|
||||
Log.e(LOGTAG, "InputMethodManagerService, why are you throwing"
|
||||
|
|
Загрузка…
Ссылка в новой задаче