Merge "Switch and store keyboard layouts based on IME subtype."