From 29aa760e768d3afe3a79f9a8dac44674395719b8 Mon Sep 17 00:00:00 2001 From: James Willcox Date: Thu, 26 Apr 2012 16:52:05 -0400 Subject: [PATCH] Bug 749120 - Fix hiding the keyboard from Flash on Android --- dom/plugins/base/android/ANPWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/plugins/base/android/ANPWindow.cpp b/dom/plugins/base/android/ANPWindow.cpp index ac45e0da4667..8c188eff6e4a 100644 --- a/dom/plugins/base/android/ANPWindow.cpp +++ b/dom/plugins/base/android/ANPWindow.cpp @@ -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());