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

Commit 6233de21 authored by Archie Pusaka's avatar Archie Pusaka
Browse files

Demote HID polling debug message to verbose level

"Polling timed out" message is printed every 50ms, a source of spammy
log messages when a HID device is connected. Demote it to verbose
level.

Bug: 335065189
Test: m -j
Flag: EXEMPT, logging changes
Change-Id: I0c236f4e2f1602523b25a25c9ffcd5171746b33a
parent b56b24f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -316,7 +316,7 @@ static int uhid_fd_poll(btif_hh_device_t* p_dev,

  if (!com::android::bluetooth::flags::break_uhid_polling_early()) {
    if (ret == 0) {
      log::debug("Polling timed out, attempt to read (old behavior)");
      log::verbose("Polling timed out, attempt to read (old behavior)");
      return 1;
    }
  }