By default, notifications use the ring volume, and setting them has no 
effect.

This is controlled by a system setting -- no hint of this in the 
AudioManager documentation that I ever recall seeing.

You can change it, if it's appropriate -- but unless you're acting as a 
volume control manager for the user, it's probably not appropriate, as this 
is a user-selectable setting.

Settings.System.putInt(ctx.getContentResolver(), 
NOTIFICATIONS_USE_RING_VOLUME, (flag ? 1 : 0))

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to