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

Commit 103d423a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Prevent Hearing Aid fromn spamming logs" into pi-dev

parents fbf6b499 0568dedb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3481,7 +3481,8 @@ bool AudioFlinger::PlaybackThread::threadLoop()
                            if (diff > 0) {
                                // notify of throttle end on debug log
                                // but prevent spamming for bluetooth
                                ALOGD_IF(!audio_is_a2dp_out_device(outDevice()),
                                ALOGD_IF(!audio_is_a2dp_out_device(outDevice()) &&
                                         !audio_is_hearing_aid_out_device(outDevice()),
                                        "mixer(%p) throttle end: throttle time(%u)", this, diff);
                                mThreadThrottleEndMs = mThreadThrottleTimeMs;
                            }