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

Commit 2da22cdc authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents d5dd1b6a 467aa63e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);
            }
        }
    }