summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2015-02-21 02:15:48 +0900
committerYohei Yukawa <yukawa@google.com>2015-02-21 02:26:40 +0900
commitf487e0e395a4e49f28c6448339d57357667756c6 (patch)
tree558357392e163697d020f9026eeb5ed03127f019 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente55524ef0482bfcf77bf1344f7fda9ef7263d32f (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions