commit | 4d8c132609c9a87d8e05cba65bf6832b38afd1ff | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Fri Jul 11 11:50:24 2014 +0100 |
committer | Narayan Kamath <narayan@google.com> | Fri Jul 11 15:37:08 2014 +0000 |
tree | a6456429d5092614ebb188d2f2b5976191bec87a | |
parent | fb98a5023eb1ac059f62355b28b492eb75cf8c30 [diff] |
Allow 3 letter language codes in InputMethodUtils. Replace locale.substring(0, 2) with a function that always returns the first component of the locale (assumed to be the language). bug: 10090157 Change-Id: Ibb9eb9f65323795d139b16d76b7e7e36a4e0568c