OSDN Git Service

Change the default snoop log level to off.
authorAjay Panicker <apanicke@google.com>
Tue, 12 Feb 2019 02:04:21 +0000 (18:04 -0800)
committerAjay Panicker <apanicke@google.com>
Tue, 12 Feb 2019 02:04:21 +0000 (18:04 -0800)
Bug: 112970672
Test: Flash a userdebug build and see that there are no logs.
Change-Id: Iba2c5b7572a6750c06f86c31cfc6054e9595b8ce

hci/src/btsnoop.cc

index e8db278..ad06ac7 100644 (file)
@@ -184,7 +184,7 @@ static future_t* start_up() {
   std::string default_mode = BTSNOOP_MODE_DISABLED;
   if (is_debuggable) {
     int len = osi_property_get(BTSNOOP_DEFAULT_MODE_PROPERTY, property.data(),
-                               BTSNOOP_MODE_FILTERED);
+                               BTSNOOP_MODE_DISABLED);
     default_mode = std::string(property.data(), len);
   }