Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 042d4c13 authored by Hui Peng's avatar Hui Peng Committed by Automerger Merge Worker
Browse files

Merge "[redact_log] enable redaction on debug builds by default" am: c5e9287c

parents 50265844 c5e9287c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@
#include "os/logging/log_redaction.h"

#include "common/init_flags.h"
#include "os/system_properties.h"

namespace bluetooth {
namespace os {
@@ -27,7 +26,7 @@ namespace os {
using bluetooth::common::init_flags::redact_log_is_enabled;

bool should_log_be_redacted() {
  return !GetSystemPropertyBool(DEBUGGABLE_SYS_PROP_NAME, false) && redact_log_is_enabled();
  return redact_log_is_enabled();
}

}  // namespace os