From fffa8acd3cc74ecbaeb03ca6abd29a1825955dcf Mon Sep 17 00:00:00 2001 From: David Friedman Date: Mon, 7 Mar 2016 22:13:29 -0800 Subject: [PATCH] Docs: Standardizing on "Android N" language in Preview docs. Change-Id: I7398c137f5b0c04826cedb4c03c576322f0c941d --- docs/html/preview/behavior-changes.jd | 41 +++++++++---------- docs/html/preview/download.jd | 24 +++++------ docs/html/preview/features/afw.jd | 8 ++-- .../features/background-optimization.jd | 20 ++++----- docs/html/preview/features/data-saver.jd | 6 +-- docs/html/preview/features/direct-boot.jd | 4 +- docs/html/preview/features/icu4j-framework.jd | 14 +++---- docs/html/preview/features/multi-window.jd | 30 +++++++------- .../preview/features/multilingual-support.jd | 18 ++++---- .../preview/features/notification-updates.jd | 29 +++++++------ .../preview/features/picture-in-picture.jd | 6 +-- .../preview/features/scoped-folder-access.jd | 2 +- docs/html/preview/features/security-config.jd | 2 +- .../html/preview/features/tv-recording-api.jd | 2 +- docs/html/preview/guide.jd | 12 +++--- docs/html/preview/index.jd | 2 +- docs/html/preview/overview.jd | 9 ++-- docs/html/preview/run-app.jd | 25 ++++++----- docs/html/preview/samples.jd | 4 +- docs/html/preview/setup-sdk.jd | 26 ++++++------ docs/html/preview/support.jd | 10 ++--- 21 files changed, 147 insertions(+), 147 deletions(-) diff --git a/docs/html/preview/behavior-changes.jd b/docs/html/preview/behavior-changes.jd index 6be7f5d1726f8..1f8a74f86de32 100644 --- a/docs/html/preview/behavior-changes.jd +++ b/docs/html/preview/behavior-changes.jd @@ -33,7 +33,7 @@ page.image=images/cards/card-n-changes_2x.png

See Also

  1. - N Developer Preview API Overview
  2. + Android N API Overview
@@ -41,7 +41,7 @@ page.image=images/cards/card-n-changes_2x.png

- Along with new features and capabilities, the Android N Developer Preview + Along with new features and capabilities, Android N includes a variety of system and API behavior changes. This document highlights some of the key changes that you should understand and account for in your apps. @@ -56,7 +56,7 @@ page.image=images/cards/card-n-changes_2x.png

Performance Improvements

- The Preview contains system behavior changes aimed at improving the battery + Android N contains system behavior changes aimed at improving the battery life of devices, RAM usage, and app performance. These changes can impact the availability of system resources and system notifications to your app. You should review these changes and evaluate how your app may need to adjust to @@ -68,7 +68,7 @@ page.image=images/cards/card-n-changes_2x.png

Introduced in Android 6.0 (API level 23), Doze improves battery life by deferring CPU and network activities when a user leaves a device unplugged, - stationary, and with the screen turned off. This Preview brings further + stationary, and with the screen turned off. Android N brings further enhancements to Doze by applying a subset of CPU and network restrictions while the device is unplugged with the screen turned off, but not necessarily stationary, for example, when a handset is traveling in a user’s pocket. @@ -118,7 +118,7 @@ page.image=images/cards/card-n-changes_2x.png

Project Svelte: Background Optimizations

- The Preview removes three implicit broadcasts in order to help optimize both + Android N removes three implicit broadcasts in order to help optimize both memory use and power consumption. This change is necessary because implicit broadcasts frequently start apps that have registered to listen for them in the background. Removing these broadcasts can substantially benefit device @@ -143,12 +143,12 @@ page.image=images/cards/card-n-changes_2x.png

- To alleviate these issues, the Preview applies the following + To alleviate these issues, Android N applies the following optimizations:

@@ -189,7 +189,7 @@ page.image=images/cards/card-n-changes_2x.png

Permissions Changes

- The Preview includes changes to permissions that may affect your app, + Android N includes changes to permissions that may affect your app, including user accounts permissions and a new permission for writing to external storage. Here is a summary of the permissions that have changed in the preview: @@ -199,7 +199,7 @@ page.image=images/cards/card-n-changes_2x.png

  • {@code GET_ACCOUNTS} (Deprecated)

    The GET_ACCOUNTS permission is now deprecated. The system ignores this - permission for apps that target the N Developer Preview. + permission for apps that target Android N.

  • @@ -227,7 +227,7 @@ page.image=images/cards/card-n-changes_2x.png

    Accessibility Improvements

    - This Preview includes changes intended to improve the usability of the + Android N includes changes intended to improve the usability of the platform for users with low or impaired vision. These changes should generally not require code changes in your app, however you should review these feature and test them with your app to assess potential impacts to user @@ -238,7 +238,7 @@ page.image=images/cards/card-n-changes_2x.png

    Screen Zoom

    - The Preview enables users to set Display sizewhich magnifies + Android N enables users to set Display sizewhich magnifies or shrinks all elements on the screen, thereby improving device accessibility for users with low vision. Users cannot zoom the screen past a minimum screen width of

    Figure 3. The screen on the right shows the effect of - increasing the Display size of a device running an N Preview system image. + increasing the Display size of a device running an Android N system image.

    @@ -278,7 +278,7 @@ page.image=images/cards/card-n-changes_2x.png Runtime Changes, just as if the device's orientation had changed. -
  • If an app targets the N Developer Preview, all of its processes +
  • If an app targets Android N, all of its processes (foreground and background) are notified of the configuration change as described in Handling @@ -296,7 +296,7 @@ page.image=images/cards/card-n-changes_2x.png

    Vision Settings in Setup Wizard

    - The Preview includes Vision Settings on the Welcome screen, where users can + Android N includes Vision Settings on the Welcome screen, where users can set up the following accessibility settings on a new device: Magnification gesture, Font size, Display size and TalkBack. This change @@ -310,7 +310,7 @@ page.image=images/cards/card-n-changes_2x.png

    Platform Migration toward OpenJDK 8

    - The Preview moves Android’s Java language libraries to an OpenJDK-based + Android N moves Android’s Java language libraries to an OpenJDK-based approach, creating a common code base for developers to build apps and services. If your app depends on a private implementation of Java or unspecified behavior, you should be aware of these known issues: @@ -357,14 +357,14 @@ java.lang.NoSuchFieldException: No field array in class Ljava/util/ArrayList;

    NDK Apps Linking to Platform Libraries

    - The Preview includes namespace changes to prevent loading of non-public APIs. + Android N includes namespace changes to prevent loading of non-public APIs. If you use the NDK, you should only be using public APIs from the Android platform. Using non-public APIs in the next official release of Android can cause your app to crash.

    - In order to alert you to use of non-public APIs, apps running on a Preview + In order to alert you to use of non-public APIs, apps running on an Android N device generate an error in logcat output when an app calls a non-public API. This error is also displayed on the device screen as a message to help raise awareness of this situation. You should review your app code to @@ -399,8 +399,7 @@ java.lang.NoSuchFieldException: No field array in class Ljava/util/ArrayList;

    To help you diagnose these types problems here are some example Java and NDK - errors you might encounter when attempting to build your app with the N - Developer Preview: + errors you might encounter when attempting to build your app with Android N:

    Example Java error:

    @@ -445,7 +444,7 @@ JavaVM::AttachCurrentThread from <jni.h>.

    Android for Work

    - The Preview contains changes for apps that target Android for Work, including + Android N contains changes for apps that target Android for Work, including changes to certificate installation, password resetting, secondary user management, and access to device identifiers. If you are building apps for Android for Work environments, you should review these changes and modify diff --git a/docs/html/preview/download.jd b/docs/html/preview/download.jd index 456f7c8bb4ef5..ac70b3ed74f21 100644 --- a/docs/html/preview/download.jd +++ b/docs/html/preview/download.jd @@ -170,7 +170,7 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).

    In this document

      -
    1. Getting Preview on Devices +
    2. Getting Android N on Devices
      1. Over the air updates
      2. Installing system images
      3. @@ -185,19 +185,19 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).

        The Android N Developer Preview includes device system images to help you test your app and the new APIs coming in the next release of the platform. - This document describes how to get Preview system images on a device for + This document describes how to get Android N system images on a device for testing.

        -

        Getting Preview on Devices

        +

        Getting Android N on Devices

        - In order to effectively test your apps with the Preview, use - a Preview emulator provided with the Preview SDK or configure a device - with a Preview system image. The N Developer Preview allows you to update - devices for use in testing the functionality of the Preview APIs and system - behaviors with your apps. You can get the Preview on a device by opting a - device into the Android Beta Program or by downloading a preview system + In order to effectively test your apps with Android N, use + an Android N emulator provided with the N Preview SDK or configure a device + with an Android N system image. Android N allows you to update + devices for use in testing the functionality of the Android N APIs and system + behaviors with your apps. You can get Android N on a device by opting a + device into the Android Beta Program or by downloading an Android N system image and installing it on a device.

        @@ -212,7 +212,7 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).

        - You can create emulators containing the Preview within the Preview SDK. + You can create emulators containing Android N within the Preview SDK. For more information about getting the Preview SDK, see Set Up the SDK.

        @@ -221,9 +221,9 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).

        Over the air updates

        - You can receive Preview versions of Android on compatible devices by + You can receive preview versions of Android on compatible devices by enrolling them in the Android Beta Program. Once you enroll a device in - this program, it receives Preview versions of Android over-the-air (OTA). + this program, it receives preview versions of Android over-the-air (OTA). These updates are automatically downloaded and can installed just like official updates.

        diff --git a/docs/html/preview/features/afw.jd b/docs/html/preview/features/afw.jd index a67a1c88e33b4..7fd29dd4976b3 100644 --- a/docs/html/preview/features/afw.jd +++ b/docs/html/preview/features/afw.jd @@ -1,5 +1,5 @@ page.title=Android for Work Updates -page.metaDescription=New Android for Work APIs and features in the N Developer Preview. +page.metaDescription=New Android for Work APIs and features in Android N. page.keywords="android for work", "android N", "enterprise", "QR code" @jd:body @@ -84,8 +84,8 @@ page.keywords="android for work", "android N", "enterprise", "QR code"
    -

    This document describes the new Android for Work features provided in the -N Developer Preview.

    +

    This document describes the new Android for Work features provided in +Android N.

    QR Code Provisioning

    @@ -310,7 +310,7 @@ N Developer Preview.

    - The Preview includes the following API additions to support this feature. For + Android N includes the following API additions to support this feature. For details, see the N Preview SDK Reference.

    diff --git a/docs/html/preview/features/background-optimization.jd b/docs/html/preview/features/background-optimization.jd index 1422db5fb33de..5c736551a76a9 100644 --- a/docs/html/preview/features/background-optimization.jd +++ b/docs/html/preview/features/background-optimization.jd @@ -57,12 +57,12 @@ page.keywords="android N", "implicit broadcasts", "job scheduler"

    - To alleviate this issue, the N Developer Preview applies the following + To alleviate this issue, Android N applies the following restrictions: