summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2018-02-23 16:18:10 -0800
committerAdam Lesinski <adamlesinski@google.com>2018-03-01 11:18:23 -0800
commit34a1687a67cfc08dd2baca6e92180e0930006c6f (patch)
tree5f2d9f08a58c44faab6377bf02dc412dbf18daf3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentc2c1d7094b9b4d22d99c62df234054b37548092b (diff)
AAPT2: Remove resources that define locales but no default values.
According to our docs: https://developer.android.com/guide/topics/resources/localization.html#defaults-r-important Some resources *require* that there is a default definition. So far, the pain is felt when doing translations for strings that have been renamed, etc. This CL strips out resources that don't have a default value and define a resource for a locale. This is conservative, but should be expanded to other configuration properties moving forward. Bug: 36572857 Test: make aapt2_tests Change-Id: Ife94a1f8a2ee221f8532ffa856541a9c8c4e7143
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions