commit | 11bfc2261f653f1b3154b88bf692241dbd6fc477 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Wed Jul 30 15:42:25 2014 +0100 |
committer | Narayan Kamath <narayan@google.com> | Fri Aug 01 13:32:12 2014 +0100 |
tree | 192d246362758808344450b528b4b8c01358177b | |
parent | 3f1ddf83a4faba3dec71ed7eebe1835f4685cf60 [diff] |
Don't assume languages are 2 letter codes. Also, note that this method never worked. Locale settings were stored with underscores (like Locale.toString) but matched against AssetManager.getLocales() which returned language-tag like output. bug: 10090157 (cherry picked from commit fd138cd81a689ff46e6ae90e46adcdc53f3c5442) Change-Id: Ifc81ac902c297387dba8c40aba0656e18af57c86