am 3891c4cc: Fix issue 2602879: camera shutter sound not playing.
Merge commit '3891c4cc918e8062abb97c542a8625d556dccc59' into froyo-plus-aosp * commit '3891c4cc918e8062abb97c542a8625d556dccc59': Fix issue 2602879: camera shutter sound not playing.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user