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

Commit 68d9e716 authored by Ajay Panicker's avatar Ajay Panicker Committed by android-build-merger
Browse files

Merge "Remove logspam when initializing logging for Bluetooth" am: 29eb18a0 am: c6b121a2

am: 30120904

Change-Id: Ibadfa81f47b132a0beabf2fc31b7b8cc4aa8a6f0
parents 7fc11919 30120904
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -61,13 +61,11 @@ bool module_init(const module_t* module) {
  CHECK(module != NULL);
  CHECK(get_module_state(module) == MODULE_STATE_NONE);

  LOG_INFO(LOG_TAG, "%s Initializing module \"%s\"", __func__, module->name);
  if (!call_lifecycle_function(module->init)) {
    LOG_ERROR(LOG_TAG, "%s Failed to initialize module \"%s\"", __func__,
              module->name);
    return false;
  }
  LOG_INFO(LOG_TAG, "%s Initialized module \"%s\"", __func__, module->name);

  set_module_state(module, MODULE_STATE_INITIALIZED);
  return true;
+0 −1
Original line number Diff line number Diff line
@@ -205,7 +205,6 @@ static void load_levels_from_config(const config_t* config) {

  for (tBTTRC_FUNC_MAP* functions = &bttrc_set_level_map[0];
       functions->trc_name; ++functions) {
    LOG_INFO(LOG_TAG, "BTE_InitTraceLevels -- %s", functions->trc_name);
    int value =
        config_get_int(config, CONFIG_DEFAULT_SECTION, functions->trc_name, -1);
    if (value != -1) functions->trace_level = value;