diff options
author | Kenny Root <kroot@google.com> | 2020-02-01 11:29:20 -0800 |
---|---|---|
committer | Kenny Root <kroot@google.com> | 2020-02-01 11:29:28 -0800 |
commit | 08018dd92565e74c46e58aae91895edad761cc84 (patch) | |
tree | d55485c322becf3fcf94f47f894fb92ed90a13cb /light/aidl/default/main.cpp | |
parent | 2801b037cda7614851a9a650d02f5dc833cfe0e7 (diff) |
rebootescrow: eliminate copy during read
Instead of reading into a std::string, read directly into the std::vector of bytes
This saves a copy and reduces memory overhead slightly.
Test: atest VtsHalRebootEscrowTargetTest
Bug: 148177693
Change-Id: I4dfe552f21394fb0891858b34a481b489dc3c684
Diffstat (limited to 'light/aidl/default/main.cpp')
0 files changed, 0 insertions, 0 deletions