The command you are using may or may not silence notifications. If the user has separated ringer and notification volumes in the Settings application then the notifications from email or text messages will continue to be heard.
On Dec 2, 12:30 am, "Teo [GD API Guru]" <[email protected]> wrote: > Hi, i got reports from some users that after making the phone silent > with my app, sometimes, text messages or emails still make sounds. I > don't have a phone so this is why i'm asking... > > The app is making the phone silent this way: > > final AudioManager am = (AudioManager) context.getSystemService > (Context.AUDIO_SERVICE); > am.setRingerMode(AudioManager.RINGER_MODE_SILENT); > > Thanks, > Teo -- 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

