liblog: expect content only if ro.logd.kernel is enabled

On svelte devices, CTS test liblog#android_logger_get_ fails on the
missing kernel buffer because it is not enabled to save space.

Test: gTest liblog_unit_tests
Bug: 109669791
Change-Id: Iaf46fe9713d3462a56885515a67db640544345ab
1 file changed
tree: 06a54a268cbfe68a3ee6b2d774d329f9f6e0b1d1
  1. liblog/
  2. logcat/
  3. logd/
  4. logwrapper/