summaryrefslogtreecommitdiff
path: root/light/aidl/default/main.cpp
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2020-02-01 11:29:20 -0800
committerKenny Root <kroot@google.com>2020-02-01 11:29:28 -0800
commit08018dd92565e74c46e58aae91895edad761cc84 (patch)
treed55485c322becf3fcf94f47f894fb92ed90a13cb /light/aidl/default/main.cpp
parent2801b037cda7614851a9a650d02f5dc833cfe0e7 (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