Bug 1409113 - Relax the user input requirement in order to show VKB on Android r=jchen
MozReview-Commit-ID: 4lvuGFyWj76
--- a/widget/android/GeckoEditableSupport.cpp
+++ b/widget/android/GeckoEditableSupport.cpp
@@ -1374,17 +1374,17 @@ GeckoEditableSupport::SetInputContext(co
}
if (mIMEUpdatingContext) {
return;
}
mIMEUpdatingContext = true;
RefPtr<GeckoEditableSupport> self(this);
- bool isUserAction = aAction.IsHandlingUserInput();
+ bool isUserAction = aAction.IsHandlingUserInput() || aContext.mHasHandledUserInput;
nsAppShell::PostEvent([this, self, isUserAction] {
nsCOMPtr<nsIWidget> widget = GetWidget();
mIMEUpdatingContext = false;
if (!widget || widget->Destroyed()) {
return;
}
mEditable->NotifyIMEContext(mInputContext.mIMEState.mEnabled,