Fix a date, adjust permissions language.

Change-Id: Icb09eb44645130af5e109c390b757dc12f458f91
This commit is contained in:
Dirk Dougherty
2015-05-29 16:45:15 -07:00
parent 80aa2b3e90
commit 8c11025e3b
3 changed files with 23 additions and 12 deletions

View File

@ -50,20 +50,21 @@ some of the key changes that you should understand and account for in your apps.
might be affected by these changes in the platform.</p> might be affected by these changes in the platform.</p>
<h2 id="behavior-runtime-permissions">Runtime Permissions</h1> <h2 id="behavior-runtime-permissions">Runtime Permissions</h1>
<p>This preview introduces a new runtime permissions model, where users can now directly manage <p>This preview introduces a new permissions model, where users can now directly manage
their app permissions at runtime. This model gives users improved visibility and control over app permissions at runtime. This model gives users improved visibility and control over
permissions, while streamlining the installation and auto-update processes for app developers. permissions, while streamlining the installation and auto-update processes for app developers.
Users can set permissions on or off for all apps running on the M Preview. However, apps that Users can grant or revoke permissions individually for installed apps. </p>
dont target the M Preview cannot request permissions at runtime.</p>
<p>On your apps that target the M Preview, make sure to check and request for permissions at <p>On your apps that target the M Preview, make sure to check and request for permissions at
runtime. To determine if your app has been granted a permission, call the runtime. To determine if your app has been granted a permission, call the
new {@code Context.checkSelfPermission()} method. To request for a permission, call the new new {@code Context.checkSelfPermission()} method. To request for a permission, call the new
{@code Activity.requestPermission()} method.</p> {@code Activity.requestPermission()} method. Even if your app is not targeting M, you
should test your app under the new permissions model.</p>
<p>For more information on supporting the new permissions model in your app, see <p>For details on supporting the new permissions model in your app, see the
<a href="{@docRoot}preview/features/runtime-permissions.html"> <a href="{@docRoot}preview/features/runtime-permissions.html">
Android M Preview Runtime Permissions</a>.</p> Permissions</a> developer preview page. For tips on how to assess the impact on your app,
see the <a href="{@docRoot}preview/testing/guide.html#runtime-permissions">Testing Guide</a></p>
<h2 id="behavior-power">Power-Saving Optimizations</h2> <h2 id="behavior-power">Power-Saving Optimizations</h2>
<p>This preview introduces new power-saving optimizations for idle devices and apps.</p> <p>This preview introduces new power-saving optimizations for idle devices and apps.</p>
@ -103,6 +104,10 @@ high-priority messages. If your app receives high-priority GCM messages, its
brief network access even when the device is in doze. brief network access even when the device is in doze.
</p> </p>
<p>See the
<a href="{@docRoot}preview/testing/guide.html#doze-standby">Testing Guide</a> for tips on how
to test Doze in your apps. </p>
<h3 id="behavior-app-standby">App standby</h3> <h3 id="behavior-app-standby">App standby</h3>
<p>With this preview, the system may determine that apps are idle when they are not in active <p>With this preview, the system may determine that apps are idle when they are not in active
use. Your app is considered idle after a period of time, unless the system detects use. Your app is considered idle after a period of time, unless the system detects
@ -140,6 +145,10 @@ designate high-priority messages. If your app receives high-priority GCM message
brief network access even when the app is idle. brief network access even when the app is idle.
</p> </p>
<p>See the
<a href="{@docRoot}preview/testing/guide.html#doze-standby">Testing Guide</a> for tips on how
to test App Standby in your apps. </p>
<h2 id="behavior-adoptable-storage">Adoptable Storage Devices</h2> <h2 id="behavior-adoptable-storage">Adoptable Storage Devices</h2>
<p> <p>
With this preview, users can <em>adopt</em> external storage devices such as SD cards. Adopting an With this preview, users can <em>adopt</em> external storage devices such as SD cards. Adopting an

View File

@ -116,7 +116,7 @@ page.tags="preview", "developer", "android"
<img src="{@docRoot}preview/images/m-preview-timeline-crop.png" alt= <img src="{@docRoot}preview/images/m-preview-timeline-crop.png" alt=
"Preview program timeline" id="timeline"> "Preview program timeline" id="timeline">
<p> <p>
The M Developer Preview runs from May 27 until the final Android M SDK, which The M Developer Preview runs from May 28 until the final Android M SDK, which
well release shortly before the public release during Q3 well release shortly before the public release during Q3
2015. 2015.
</p> </p>
@ -326,7 +326,7 @@ page.tags="preview", "developer", "android"
</p> </p>
<h2 id="get_started"> <h2 id="get_started">
How to get started? How to get started
</h2> </h2>
<p> <p>
@ -336,10 +336,12 @@ page.tags="preview", "developer", "android"
<ol> <ol>
<li>Review the <a href="{@docRoot}preview/api-overview.html">API Overview</a> <li>Review the <a href="{@docRoot}preview/api-overview.html">API Overview</a>
and <a href="{@docRoot}preview/behavior-changes.html">Behavior Changes</a> to get an and <a href="{@docRoot}preview/behavior-changes.html">Behavior Changes</a> to get an
idea of what's new and how it affects your apps. idea of what's new and how it affects your apps. In particular, learn about
the new <a href="{@docRoot}preview/features/runtime-permissions.html">runtime
permissions</a> model, power-saving features, and auto backup.
</li> </li>
<li>Setup for testing and development by following the instructions for <li>Set up your environment by following the instructions for
<a href="{@docRoot}preview/setup-sdk.html">Setting up the Preview SDK</a> <a href="{@docRoot}preview/setup-sdk.html">Setting up the Preview SDK</a>
and configuring test devices. and configuring test devices.
</li> </li>

View File

@ -57,7 +57,7 @@ page.keywords=previewresources,androidm,testing,permissions
app features from working, or they may work in a degraded state. app features from working, or they may work in a degraded state.
</p> </p>
<p> <p class="caution">
This change affects all apps running on the new platform, even those not targeting the new This change affects all apps running on the new platform, even those not targeting the new
platform version. The platform provides a limited compatibility behavior for legacy apps, but you platform version. The platform provides a limited compatibility behavior for legacy apps, but you
should begin planning your apps migration to the new permissions model now, with a goal of should begin planning your apps migration to the new permissions model now, with a goal of