Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15d2e768 authored by Quddus Chong's avatar Quddus Chong Committed by Android (Google) Code Review
Browse files

Merge "docs: Updated Android 5.0 API Overview to reflect that setting the...

Merge "docs: Updated Android 5.0 API Overview to reflect that   setting the device to RINGER_MODE_NORMAL or RINGER_MODE_VIBRATE   causes the device to leave priority mode." into lmp-dev
parents ac21dbb4 2e4a929f
Loading
Loading
Loading
Loading
+4 −11
Original line number Original line Diff line number Diff line
@@ -228,10 +228,9 @@ 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 the device to
<p>Setting a device to {@link android.media.AudioManager#RINGER_MODE_NORMAL RINGER_MODE_NORMAL}
{@link android.media.AudioManager#RINGER_MODE_SILENT RINGER_MODE_SILENT} now
  or {@link android.media.AudioManager#RINGER_MODE_NORMAL RINGER_MODE_VIBRATE}
causes the device to enter the new priority mode. The device stays in priority
  causes the device to leave priority mode.</p>
mode when you leave silent mode.</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
@@ -1179,7 +1178,7 @@ provide the features your app needs.</p>


<h3 id="Permissions">User permissions</h3>
<h3 id="Permissions">User permissions</h3>


<p>The following permissions are now supported in the
<p>The following permission is now supported in the
<a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">{@code &lt;uses-permission&gt;}</a>
<a href="{@docRoot}guide/topics/manifest/uses-permission-element.html">{@code &lt;uses-permission&gt;}</a>
element to declare the permissions your app requires to access certain APIs.</p>
element to declare the permissions your app requires to access certain APIs.</p>


@@ -1188,10 +1187,4 @@ element to declare the permissions your app requires to access certain APIs.</p>
  level 21 and higher, this permission is required by a
  level 21 and higher, this permission is required by a
  <a href="{@docRoot}about/versions/android-4.2.html#Daydream">Daydream</a> service,
  <a href="{@docRoot}about/versions/android-4.2.html#Daydream">Daydream</a> service,
  to ensure that only the system can bind to it.</li>
  to ensure that only the system can bind to it.</li>

<li>{@link android.Manifest.permission#READ_VOICEMAIL}: Required to allow your
  app to read voicemails in the system.</li>

<li>{@link android.Manifest.permission#WRITE_VOICEMAIL}: Required to allow your
  app to modify and remove existing voicemails in the system.</li>
</ul>
</ul>
 No newline at end of file
+11 −0
Original line number Original line Diff line number Diff line
page.title=Building Live TV Apps
page.title=Building Live TV Apps
page.tags=tif
page.tags=tif
page.article=true


@jd:body
@jd:body


<div id="tb-wrapper">
<div id="tb">
  <h2>You should also read</h2>
  <ul>
    <li><a href="{@docRoot}reference/android/media/tv/package-summary.html">
      android.media.tv</a></li>
  </ul>
</div>
</div>

<p>
<p>
  Watching live television shows and other continuous, channel-based content is a big part of the
  Watching live television shows and other continuous, channel-based content is a big part of the
  TV experience. Android supports receiving and playback of live video content through the TV Input
  TV experience. Android supports receiving and playback of live video content through the TV Input