commit | 7be75338a3c2be073eee934754ca5a4aeaab85ad | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Fri Jul 11 11:50:24 2014 +0100 |
committer | Narayan Kamath <narayan@google.com> | Mon Jul 14 09:42:55 2014 +0100 |
tree | 24f5192b6ab42cc52406a28ced4dde6c5cb18b08 | |
parent | ef3b35b48c31919a7d6977e41db7f9d37654dec3 [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 (cherry picked from commit cefc79c6b18bb2e824c299e7b9e212071e5ebc43) Change-Id: I56b02dd0c6dc222daa3ceade841a30879449bb4a