Merge "Move initInputMonitor to the main thread" into main