diff options
author | Tom Cherry <tomcherry@google.com> | 2020-07-28 09:51:54 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2020-07-28 13:16:11 -0700 |
commit | 68261eec2442f25a223faac2b3601a87021ea72a (patch) | |
tree | 5ff9666b0fbb35a956bc5d6188ab929f9f9bb0ab /trusty/coverage/coverage.cpp | |
parent | 5ce349927da512ee043aae119e73842db3283a18 (diff) |
logd: remove users of __android_logger_property_get_bool()
__android_logger_property_get_bool() has a clunky API and doesn't
belong in liblog, since a vast majority of liblog users will never
query this property.
Specifically
1) Replace with GetBoolProperty() when completely equivalent.
2) Remove checking if property values are 'eng' or 'svelte', since
there's no evidence that those values were ever used.
3) Remove checking 'persist.logd.statistics' and 'ro.logd.statistics',
since there's no evidence that those values were ever used.
4) Set ro.logd.kernel explicitly, so other processes don't need to
replicate the defaults that logd uses.
Test: build
Change-Id: I7c37af64ba7754e839185f46da66bf077f09d9c3
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions