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

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

Merge "Fix position when restoring streaming audio track"

parents d1e85c35 7ccdaad3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1862,7 +1862,7 @@ status_t AudioTrack::restoreTrack_l(const char *from)
    // For streaming tracks, this is the amount we obtained from the user/client
    // (not the number actually consumed at the server - those are already lost).
    (void) updateAndGetPosition_l();
    if (mStaticProxy != 0) {
    if (mStaticProxy == 0) {
        mPosition = mReleased;
    }