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

Commit 11bae140 authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am 3891c4cc: Fix issue 2602879: camera shutter sound not playing.

Merge commit '3891c4cc' into froyo-plus-aosp

* commit '3891c4cc':
  Fix issue 2602879: camera shutter sound not playing.
parents 3cd1f9f9 3891c4cc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -279,6 +279,12 @@ public class AudioService extends IAudioService.Stub {
        mMode = AudioSystem.MODE_INVALID;
        setMode(AudioSystem.MODE_NORMAL, null);
        mMediaServerOk = true;

        // Call setRingerModeInt() to apply correct mute
        // state on streams affected by ringer mode.
        mRingerModeMutedStreams = 0;
        setRingerModeInt(getRingerMode(), false);

        AudioSystem.setErrorCallback(mAudioSystemCallback);
        loadSoundEffects();