conditional ime switcher

Change-Id: I4fdc63ca65119172ab99f9220f457352b771b1d3