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

Commit 49dc0bb3 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by android-build-merger
Browse files

Merge "Add log entry to interop_match_name()"

am: 47912342

Change-Id: I0fdf90ac384419e327262c42697ce6e482d1cd52
parents c51322cf 47912342
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ bool interop_match_addr(const interop_feature_t feature,

  if (interop_match_fixed_(feature, addr) ||
      interop_match_dynamic_(feature, addr)) {
    LOG_WARN(LOG_TAG, "%s() Device %s is a match for interop workaround %s.",
    LOG_INFO(LOG_TAG, "%s() Device %s is a match for interop workaround %s.",
             __func__, addr->ToString().c_str(),
             interop_feature_string_(feature));
    return true;
@@ -69,6 +69,8 @@ bool interop_match_name(const interop_feature_t feature, const char* name) {
        strlen(name) >= interop_name_database[i].length &&
        strncmp(name, interop_name_database[i].name,
                interop_name_database[i].length) == 0) {
      LOG_INFO(LOG_TAG, "%s() Device %s is a match for interop workaround %s.",
             __func__, name, interop_feature_string_(feature));
      return true;
    }
  }