Merge "Take supportsSwitchingToNextInputMethod into considertaion"