Reputation: 1113
I need to change the volume programatically. So i use :
audiomanager.setStreamVolume(AudioManager.STREAM_RING, 0, AudioManager.FLAG_SHOW_UI);
It works but if the volume was previously set to 0, the mute icon in the status bar and within volume popup isn't modify.
How can I update the mute icon when I change volume ?
Upvotes: 0
Views: 655
Reputation:
The mute icon is used for setRingerMode(int) with RINGER_MODE_SILENT.
Upvotes: 1