AudioService - remove sendBroadcastToAll() from setMasterMuteInternalNoCallerCheck()
sendBroadcastToAll is a duplicate broadcast of MASTER_MUTE_CHANGED_ACTION. The same broadcast is called by sendMasterMuteUpdate. Test: make Bug: 144352459 Change-Id: I0f5283fe35521f04c04c159d42bd907fccfb226f
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user