Merge "Docs: Near-final changes for Android N/Google IO. Continues ag/1037250." into mnc-io-docs

This commit is contained in:
David Friedman
2016-05-18 05:21:23 +00:00
committed by Android (Google) Code Review
3 changed files with 20 additions and 19 deletions

View File

@@ -897,11 +897,14 @@ disables this mode when the window is no longer in focus.
<h2 id="vr">VR Support</h2> <h2 id="vr">VR Support</h2>
<p> <p>
Leveraging the <a href="#sustained_performance_api">Sustained Performance API</a> Android N adds platform support and optimizations for a new VR Mode to let developers
and newly introduced {@code VrListenerService} class, Android N provides support for build high-quality mobile VR experiences for users. There are a number of performance
VR apps developed using the <a href="https://developers.google.com/cardboard/overview">Cardboard enhancements, including access to an exclusive CPU core for VR apps.
SDK</a>. For more information about the {@code VrListenerService} class, see the relevant section Within your apps, you can take advantage of intelligent head-tracking,
of the downloadable <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference</a>. and stereo notifications that work for VR. Most importantly, Android N provides for
very low latency graphics. For complete information about building VR apps for Android N,
see the <a href="https://developers.google.com/vr/android/">Google VR SDK for Android</a>.
</p>
<h2 id="print_svc">Print Service Enhancements</h2> <h2 id="print_svc">Print Service Enhancements</h2>
@@ -951,9 +954,8 @@ of the downloadable <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Refer
The FrameMetricsListener API allows an app to monitor its UI rendering The FrameMetricsListener API allows an app to monitor its UI rendering
performance. The API provides this capability by exposing a streaming Pub/Sub API to transfer frame performance. The API provides this capability by exposing a streaming Pub/Sub API to transfer frame
timing info for the app's current window. The data returned is timing info for the app's current window. The data returned is
equivalent to that displayed by {@code equivalent to that which <code><a href="{@docRoot}tools/help/shell.html#shellcommands">adb shell</a>
<a href="{@docRoot}tools/help/shell.html#shellcommands">adb shell</a> dumpsys gfxinfo framestats}, dumpsys gfxinfo framestats</code> displays, but is not limited to the past 120 frames.
but is not limited to the past 120 frames.
</p> </p>
<p> <p>

View File

@@ -56,14 +56,13 @@ page.image=images/cards/card-n-changes_2x.png
</p> </p>
<h2 id="perf">Performance Improvements</h2> <h2 id="perf">Battery and Memory</h2>
<p> <p>
Android N contains system behavior changes aimed at improving the battery Android N includes system behavior changes aimed at improving the battery life
life of devices, RAM usage, and app performance. These changes can impact the of devices and reducing RAM usage. These changes can affect your apps access to
availability of system resources and system notifications to your app. You system resources, along with the way your app interacts with other apps via
should review these changes and evaluate how your app may need to adjust to certain implicit intents.
them.
</p> </p>
<h3 id="doze">Doze</h3> <h3 id="doze">Doze</h3>
@@ -139,7 +138,7 @@ page.image=images/cards/card-n-changes_2x.png
</p> </p>
<p> <p>
Similarly, apps can register to receive implicit {@link Similarly, in previous versions of Android, apps could register to receive implicit {@link
android.hardware.Camera#ACTION_NEW_PICTURE} and {@link android.hardware.Camera#ACTION_NEW_PICTURE} and {@link
android.hardware.Camera#ACTION_NEW_VIDEO} broadcasts from other apps, such as android.hardware.Camera#ACTION_NEW_VIDEO} broadcasts from other apps, such as
Camera. When a user takes a picture with the Camera app, these apps wake up Camera. When a user takes a picture with the Camera app, these apps wake up

View File

@@ -91,11 +91,11 @@ Android N Preview SDK in Android Studio as follows:</p>
</tr> </tr>
<tr> <tr>
<td style="white-space: nowrap"> <td style="white-space: nowrap">
<a href="{@docRoot}shareables/preview/n-preview-2-docs.zip" <a href="{@docRoot}shareables/preview/n-preview-3-docs.zip"
>n-preview-2-docs.zip</a></td> >n-preview-3-docs.zip</a></td>
<td width="100%"> <td width="100%">
MD5: c02732760f468bd97cd94c1b76361229<br> MD5: 19bcfd057a1f9dd01ffbb3d8ff7b8d81<br>
SHA-1: 591eabe168c909799f6d8dcbe7b126c25ea8b04d SHA-1: 9224bd4445cd7f653c4c294d362ccb195a2101e7
</td> </td>
</tr> </tr>
<table> <table>