Merge "Set InputMethoMananger#mCurRootView to null when window dismissed"