Merge "Restrict getInputMethodWindowVisibleHeight" into tm-dev