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

Commit 14bb98ab authored by Eric Laurent's avatar Eric Laurent Committed by android-build-merger
Browse files

audioflinger: keep wakelock during offload drain am: de0613d0

am: 1c1fb278

Change-Id: I0784669e9539d6251fc29ef328cd73280cb93e55
parents 28754370 1c1fb278
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1020,7 +1020,7 @@ protected:
    virtual     bool        waitingAsyncCallback_l();
    virtual     void        invalidateTracks(audio_stream_type_t streamType);

    virtual     bool        keepWakeLock() const { return mKeepWakeLock; }
    virtual     bool        keepWakeLock() const { return (mKeepWakeLock || (mDrainSequence & 1)); }

private:
    size_t      mPausedWriteLength;     // length in bytes of write interrupted by pause