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

Commit 823b18ef authored by Andy Hung's avatar Andy Hung Committed by Android (Google) Code Review
Browse files

Merge "Remove throttle logcat for bluetooth" into nyc-dev

parents 375a9c03 3ea004dd
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3152,7 +3152,9 @@ bool AudioFlinger::PlaybackThread::threadLoop()
                            uint32_t diff = mThreadThrottleTimeMs - mThreadThrottleEndMs;
                            if (diff > 0) {
                                // notify of throttle end on debug log
                                ALOGD("mixer(%p) throttle end: throttle time(%u)", this, diff);
                                // but prevent spamming for bluetooth
                                ALOGD_IF(!audio_is_a2dp_out_device(outDevice()),
                                        "mixer(%p) throttle end: throttle time(%u)", this, diff);
                                mThreadThrottleEndMs = mThreadThrottleTimeMs;
                            }
                        }