platform_system_core/liblog/include
Tom Cherry ed860ff4bf 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
2019-12-06 11:23:58 -08:00
..
android liblog: fixup log_id_t 2019-10-18 09:58:08 -07:00
log Make android_logger_set_prune_list() sane 2019-12-06 11:23:58 -08:00
private liblog: fixup log_id_t 2019-10-18 09:58:08 -07:00