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

Commit 210d6176 authored by Hyundo Moon's avatar Hyundo Moon Committed by Android (Google) Code Review
Browse files

Merge "Fix NullPointerException in System UI caused by remote volume change"

parents 53780b68 a055f13c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -155,10 +155,10 @@ public class MediaSessionService extends SystemService implements Monitor {
    }

    /**
     * Tells the system UI that volume has changed on a remote session.
     * Tells the system UI that volume has changed on an active remote session.
     */
    public void notifyRemoteVolumeChanged(int flags, MediaSessionRecord session) {
        if (mRvc == null) {
        if (mRvc == null || !session.isActive()) {
            return;
        }
        try {