am 58500051: am 5fe6e4c4: Merge "Rewrite input handling for native applications" into jb-mr2-dev

* commit '585000515faacc02736f920425ae6c323223ee58':
  Rewrite input handling for native applications