diff options
author | Ryan Mitchell <rtmitchell@google.com> | 2018-11-09 15:52:07 -0800 |
---|---|---|
committer | Ryan Mitchell <rtmitchell@google.com> | 2018-11-16 15:58:06 -0800 |
commit | 467b689a4c0869b98b4c8c67c8accd1422cd1956 (patch) | |
tree | 71f32b75baec19f724bada5594ad754ba20d89b5 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 67dd91e6a301c9dd15f4f95ac715064534296a53 (diff) |
Do not serialize empty text in manifest proto
When linking an APK in the proto format, the manifest is currently
serializes text nodes that only contain whitespace:
child: {
text: "\n "
source: {
line_number : 0x0000000f
column_number: 0x0000002f
}
}
These whitespace bloat the proto size unnecessarily. Do not write these
text nodes for proto apks.
Bug: 118800653
Test: make aapt2_tests
Change-Id: Icfaaf88976f81450bbf51610a316b336deeae60c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions