Merge "Fix NPE in InputDispacher by enabling debug logs"