commit | 34a1687a67cfc08dd2baca6e92180e0930006c6f | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Fri Feb 23 16:18:10 2018 -0800 |
committer | Adam Lesinski <adamlesinski@google.com> | Thu Mar 01 11:18:23 2018 -0800 |
tree | 5f2d9f08a58c44faab6377bf02dc412dbf18daf3 | |
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