am fee0385f: am fdb2d1f8: am c598a4a4: Merge "docs: Fixed sound and vibration section in Android 5.0 API overview." into lmp-dev
* commit 'fee0385f1c4af659b897ba2bfba7e4d9fa8f7ff1': docs: Fixed sound and vibration section in Android 5.0 API overview.
This commit is contained in:
@@ -228,9 +228,12 @@ the system can present notifications correctly in
|
|||||||
{@link android.app.Notification.Builder} methods to add sounds and
|
{@link android.app.Notification.Builder} methods to add sounds and
|
||||||
vibration.</p>
|
vibration.</p>
|
||||||
|
|
||||||
<p>Setting a device to {@link android.media.AudioManager#RINGER_MODE_NORMAL RINGER_MODE_NORMAL}
|
<p>Setting the device to
|
||||||
or {@link android.media.AudioManager#RINGER_MODE_NORMAL RINGER_MODE_VIBRATE}
|
{@link android.media.AudioManager#RINGER_MODE_SILENT RINGER_MODE_SILENT} now
|
||||||
causes the device to leave priority mode.</p>
|
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}.</p>
|
||||||
|
|
||||||
<p>Previously, Android used {@link android.media.AudioManager#STREAM_MUSIC STREAM_MUSIC}
|
<p>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
|
as the master stream to control volume on tablet devices. In Android 5.0, the
|
||||||
|
|||||||
Reference in New Issue
Block a user