Fix the algorithm to get current input method subtype considering explicitly and implicitly enabled subtypes.

Change-Id: I2e6d9ae36a1335f67b6db7659244cdfb2bfe3068
1 file changed