Merge "Reduce unnecessary invocation of setInputWindowInfo"