commit | 61d528f49d7d5d17159a9c87813fa061854e39f6 | [log] [tgz] |
---|---|---|
author | Mohamed Heikal <mheikal@google.com> | Mon Jul 08 15:06:39 2019 -0400 |
committer | Mohamed Heikal <mheikal@google.com> | Mon Jul 08 16:28:42 2019 -0400 |
tree | 6d82fe66681c5064e49f31d28c2b1ddebc4013e9 | |
parent | 59dc6124c842503d57d279b1f0139ae1302675f2 [diff] |
Fix bug where aapt2 optimize obfuscated color-* resources aapt2 optimize --enable-resource-path-shortening should ignore res/color resources since android uses the path while loading them. This cl fixes a bug where res/color-* (eg: res/color-v21) resource paths are shortened when they should not be. Test: make aapt2_tests Bug: b/75965637 Change-Id: Ibbc3fe4d2e6bd4f31765a5aa85980907dc013ecd