Bug 749120 - Fix hiding the keyboard from Flash on Android

This commit is contained in:
James Willcox 2012-04-26 16:52:05 -04:00
Родитель 918c72f6b8
Коммит 29aa760e76
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -67,7 +67,7 @@ void
anp_window_showKeyboard(NPP instance, bool value)
{
InputContext context;
context.mIMEState.mEnabled = IMEState::PLUGIN;
context.mIMEState.mEnabled = value ? IMEState::PLUGIN : IMEState::DISABLED;
context.mIMEState.mOpen = value ? IMEState::OPEN : IMEState::CLOSED;
context.mActionHint.Assign(EmptyString());