commit | 42711a0b4fffd0dc670ec7bc38cc7f954c60e530 | [log] [tgz] |
---|---|---|
author | Yi Jin <jinyithu@google.com> | Wed Oct 11 18:20:24 2017 -0700 |
committer | Yi Jin <jinyithu@google.com> | Fri Oct 13 15:44:26 2017 -0700 |
tree | 2e4b9a91caffb1098c823af806ee956a0ba207d2 | |
parent | fcf52c6f5e2276c9cf2ca245757a2f0f4b1d7e4e [diff] |
Use ProtoOutputStream to strip Pii sensetive fields in incidentd The in-place algorithm in ProtoOutputStream will have at most 2 copies of possible nested message values incidentd is getting which makes it more ram-efficient, and minimize allocations. Bug: 65641021 Test: the units pass Change-Id: Ic3fe99b7e27895bd613a129ba0f12ccfca4af317