Merge "Adjusting InputMethodManagerServiceWindowGainedFocusTest for refactor" into main