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

Commit 5488beb4 authored by Joonghong Park's avatar Joonghong Park Committed by android-build-merger
Browse files

Merge "Fix BT keeping wrong state issue" am: 7cd490c9

am: 4f73919d

Change-Id: Ib54b81c69ec3c3ae6d0b9306459d512f43925d27
parents d0fe9b1a 4f73919d
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -729,6 +729,9 @@ public class MediaSessionRecord implements IBinder.DeathRecipient {
        PlaybackState state;
        PlaybackState state;
        long duration;
        long duration;
        synchronized (mLock) {
        synchronized (mLock) {
            if (mDestroyed) {
                return null;
            }
            state = mPlaybackState;
            state = mPlaybackState;
            duration = mDuration;
            duration = mDuration;
        }
        }