Merge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev