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

Commit 89a67795 authored by Eric Laurent's avatar Eric Laurent Committed by Android (Google) Code Review
Browse files

Merge "AudioFlinger: Change track ready condition in STOPPING_1 state"

parents 9d9cba5b 16498512
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -571,8 +571,10 @@ bool AudioFlinger::PlaybackThread::Track::isReady() const {
        return true;
    }

    if (isStopping() && framesReady() > 0) {
    if (isStopping()) {
        if (framesReady() > 0) {
            mFillingUpStatus = FS_FILLED;
        }
        return true;
    }