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

Commit ab38681a authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix MediaSession2Record.checkPlaybackActiveState(expected)" into main

parents 31e0f961 0fa1f689
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -144,7 +144,7 @@ public class MediaSession2Record implements MediaSessionRecordImpl {
    @Override
    public boolean checkPlaybackActiveState(boolean expected) {
        synchronized (mLock) {
            return mIsConnected && mController.isPlaybackActive() == expected;
            return (mIsConnected && mController.isPlaybackActive()) == expected;
        }
    }