summaryrefslogtreecommitdiff
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-12-06 11:01:51 -0800
committerTom Cherry <tomcherry@google.com>2019-12-06 11:23:58 -0800
commited860ff4bfc37f36190d0707f2ec623c56413f29 (patch)
tree59f31d895094623756be9f764c06e5a5647671ee /fastboot/fastboot.cpp
parent72a4e08864b97765b281e7d034d78bfa03773f93 (diff)
Make android_logger_set_prune_list() sane
The current version requires callers to supply a string with 32 extra bytes for liblog to internally prepend "setPruneList ", and to have enough space to parse logd's return string. That is an unacceptable requirement on callers. This change removes that requirement by having liblog allocate the needed std::string in any case. It also stops writing back the 'success' or 'Invalid' string to the caller's buffer, since that is redundant as well. Test: changing prune settings works. Change-Id: Ic0f03a229f0b9a77d03adcb91288370c3bd42903
Diffstat (limited to 'fastboot/fastboot.cpp')
0 files changed, 0 insertions, 0 deletions