Bug 1205142 - Disable Android keyboard r=jchen

This commit is contained in:
Fabrice Desré 2015-09-16 09:24:17 -07:00
parent 6c2903fc55
commit 5f8b1e5325

View File

@ -2102,6 +2102,10 @@ NS_IMETHODIMP_(void)
nsWindow::SetInputContext(const InputContext& aContext,
const InputContextAction& aAction)
{
#ifdef MOZ_B2GDROID
// Disable the Android keyboard on b2gdroid.
return;
#endif
nsWindow *top = TopWindow();
if (top && this != top) {
// We are using an IME event later to notify Java, and the IME event