issue #4689: Adds inputmanagercompat from android official sample