Merge "AudioService - remove sendBroadcastToAll() from setMasterMuteInternalNoCallerCheck()"

This commit is contained in:
TreeHugger Robot
2019-11-14 21:30:47 +00:00
committed by Android (Google) Code Review

View File

@@ -2797,10 +2797,6 @@ public class AudioService extends IAudioService.Stub
setSystemAudioMute(mute);
AudioSystem.setMasterMute(mute);
sendMasterMuteUpdate(mute, flags);
Intent intent = new Intent(AudioManager.MASTER_MUTE_CHANGED_ACTION);
intent.putExtra(AudioManager.EXTRA_MASTER_VOLUME_MUTED, mute);
sendBroadcastToAll(intent);
}
}
}