From 7b4e310de97fea3deddddb6ee1c1f6d8922f13e2 Mon Sep 17 00:00:00 2001 From: Quddus Chong Date: Fri, 17 Oct 2014 10:08:41 -0700 Subject: [PATCH] docs: Fixed sound and vibration section in Android 5.0 API overview. Change-Id: Icb5379cb1c390c011c9ca8c1d585ebcaea8f92dc --- docs/html/about/versions/android-5.0.jd | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/html/about/versions/android-5.0.jd b/docs/html/about/versions/android-5.0.jd index 6a6f589827ece..4f9066cfb7b74 100644 --- a/docs/html/about/versions/android-5.0.jd +++ b/docs/html/about/versions/android-5.0.jd @@ -228,9 +228,12 @@ the system can present notifications correctly in {@link android.app.Notification.Builder} methods to add sounds and vibration.

-

Setting a device to {@link android.media.AudioManager#RINGER_MODE_NORMAL RINGER_MODE_NORMAL} - or {@link android.media.AudioManager#RINGER_MODE_NORMAL RINGER_MODE_VIBRATE} - causes the device to leave priority mode.

+

Setting the device to +{@link android.media.AudioManager#RINGER_MODE_SILENT RINGER_MODE_SILENT} now +causes the device to enter the new priority mode. The device leaves priority +mode if you set it to +{@link android.media.AudioManager#RINGER_MODE_NORMAL RINGER_MODE_NORMAL} or +{@link android.media.AudioManager#RINGER_MODE_NORMAL RINGER_MODE_VIBRATE}.

Previously, Android used {@link android.media.AudioManager#STREAM_MUSIC STREAM_MUSIC} as the master stream to control volume on tablet devices. In Android 5.0, the