Android setStreamVolume for STREAM_RING doesn't always work while RINGING
问题 I am trying to do this simple App that allows the phone to ring but not to play a sound when receiving notifications under Android 4 (ICS). In order to do that I set the ring/notification stream to 0 (mute). When receiving a call I set the ring volume to max (p.e. 7) and then, on Idle, I turn it back to 0 (mute). To do that I use this simple code. public class ReceiverClass extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if ("android.intent.action