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

Commit 851d2d5d authored by RoboErik's avatar RoboErik Committed by Erik Pasternak
Browse files

Don't send remote volume changes for local playback

bug: 15913248
Change-Id: I701d0a446ef981deae171b9e882c29906593b3c8
parent 63958c51
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -971,7 +971,8 @@ public class MediaSessionService extends SystemService implements Monitor {
                }
            } else {
                session.adjustVolumeBy(delta, flags);
                if (mRvc != null) {
                if (session.getPlaybackType() == MediaSession.PLAYBACK_TYPE_REMOTE
                        && mRvc != null) {
                    try {
                        mRvc.remoteVolumeChanged(session.getControllerBinder(), flags);
                    } catch (Exception e) {