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

Commit 13c7daf1 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by android-build-merger
Browse files

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

am: 103d423a

Change-Id: I37b059d9cde564a5e18fc960f41ff5d386fb71fb
parents 62ac2086 103d423a
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;
                            }