commit | f487e0e395a4e49f28c6448339d57357667756c6 | [log] [tgz] |
---|---|---|
author | Yohei Yukawa <yukawa@google.com> | Sat Feb 21 02:15:48 2015 +0900 |
committer | Yohei Yukawa <yukawa@google.com> | Sat Feb 21 02:26:40 2015 +0900 |
tree | 558357392e163697d020f9026eeb5ed03127f019 | |
parent | e55524ef0482bfcf77bf1344f7fda9ef7263d32f [diff] |
Normalize deprecated 2-letter language code when necessary. This is a follow up CL for I7d932e60311b80c05be8f02c9e803f18da0e0054, which revealed that we could not use deprecated 2-letter code like "in" to query subtype which has new language codes like "id". This CL addresses the above issue by normalizing the language code with Locale#Locale(String, String) before comparing one to another. Change-Id: I26e3aa0333aa3c76c80a3c1c9090cc2b368c8e10