commit | 467b689a4c0869b98b4c8c67c8accd1422cd1956 | [log] [tgz] |
---|---|---|
author | Ryan Mitchell <rtmitchell@google.com> | Fri Nov 09 15:52:07 2018 -0800 |
committer | Ryan Mitchell <rtmitchell@google.com> | Fri Nov 16 15:58:06 2018 -0800 |
tree | 71f32b75baec19f724bada5594ad754ba20d89b5 | |
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