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

Commit beec2335 authored by Mikhail Naganov's avatar Mikhail Naganov Committed by Android (Google) Code Review
Browse files

Merge "audioflinger: Fix battery accounting for offload tracks" into nyc-mr1-dev

parents bef261cc e94c27a1
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3106,9 +3106,9 @@ bool AudioFlinger::PlaybackThread::threadLoop()
                if (!keepWakeLock()) {
                if (!keepWakeLock()) {
                    releaseWakeLock_l();
                    releaseWakeLock_l();
                    released = true;
                    released = true;
                }
                    mWakeLockUids.clear();
                    mWakeLockUids.clear();
                    mActiveTracksGeneration++;
                    mActiveTracksGeneration++;
                }
                ALOGV("wait async completion");
                ALOGV("wait async completion");
                mWaitWorkCV.wait(mLock);
                mWaitWorkCV.wait(mLock);
                ALOGV("async completion/wake");
                ALOGV("async completion/wake");