commit | e5d60740564a956c3772cf5e09d7b93879502d4c | [log] [tgz] |
---|---|---|
author | Song Pan <songpan@google.com> | Fri Jan 10 17:58:00 2020 +0000 |
committer | Song Pan <songpan@google.com> | Tue Jan 14 13:59:03 2020 +0000 |
tree | f77b629ff2a56503641f8ab6bdcb197bbf16a620 | |
parent | 10432c775d6c7b6741649b2019e58566e8226719 [diff] |
Fix a bug in BitOutputStream where any trailing zeros will be discarded along with an optimization to avoid maintaining two copies of data in memory during toByteArray. Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/integrity Bug: 143697198 Change-Id: Ide9256d7bdf5a268920a944206af8ea2b03201a4