diff options
author | Adam Lesinski <adamlesinski@google.com> | 2018-02-23 16:18:10 -0800 |
---|---|---|
committer | Adam Lesinski <adamlesinski@google.com> | 2018-03-01 11:18:23 -0800 |
commit | 34a1687a67cfc08dd2baca6e92180e0930006c6f (patch) | |
tree | 5f2d9f08a58c44faab6377bf02dc412dbf18daf3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c2c1d7094b9b4d22d99c62df234054b37548092b (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