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

Commit 976686b7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "AudioService: persist volume of ring stream when ringer mode changed"

parents e63756e6 5a37bab8
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1915,6 +1915,15 @@ public class AudioService extends IAudioService.Stub {
                                }
                            }
                        }
                        // Persist volume for stream when ringer mode changed
                        final int device = getDeviceForStream(streamType);
                        sendMsg(mAudioHandler,
                            MSG_PERSIST_VOLUME,
                            SENDMSG_QUEUE,
                            device,
                            0,
                            mStreamStates[streamType],
                            PERSIST_DELAY);
                    }
                    mStreamStates[streamType].mute(null, false);
                    mRingerModeMutedStreams &= ~(1 << streamType);