Merge "Allow InputEvents to propagate w/o IME" into klp-modular-dev

This commit is contained in:
Adam Lesinski
2014-04-21 20:18:11 +00:00
committed by Android (Google) Code Review

View File

@@ -3726,7 +3726,8 @@ public final class ViewRootImpl implements ViewParent,
if (result == InputMethodManager.DISPATCH_HANDLED) {
return FINISH_HANDLED;
} else if (result == InputMethodManager.DISPATCH_NOT_HANDLED) {
return FINISH_NOT_HANDLED;
// The IME could not handle it, so skip along to the next InputStage
return FORWARD;
} else {
return DEFER; // callback will be invoked later
}