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

Commit 371144fc authored by Wei Jia's avatar Wei Jia
Browse files

MediaPlayer2Impl: fix null object reference.

Test: cts tests pass
Bug: 74204684
Change-Id: I906eeb9d907ae1a798be585c54126f02eb66448f
parent 50f118a1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -115,8 +115,8 @@ public final class MediaPlayer2Impl extends MediaPlayer2 {
    private boolean mNextSourcePlayPending = false;
    //--- guarded by |mSrcLock| end

    private AtomicInteger mBufferedPercentageCurrent;
    private AtomicInteger mBufferedPercentageNext;
    private AtomicInteger mBufferedPercentageCurrent = new AtomicInteger(0);
    private AtomicInteger mBufferedPercentageNext = new AtomicInteger(0);
    private volatile float mVolume = 1.0f;

    // Modular DRM