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

Commit 7ccdaad3 authored by Andy Hung's avatar Andy Hung
Browse files

Fix position when restoring streaming audio track

Bug: 19802225
Change-Id: I19ca7836bc89627f6cead4961641b94c6b27b5f6
parent 0e442128
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1857,7 +1857,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;
    }