diff --git a/docs/html/_redirects.yaml b/docs/html/_redirects.yaml
index c12297437cd16..59e4e0f51b8e9 100644
--- a/docs/html/_redirects.yaml
+++ b/docs/html/_redirects.yaml
@@ -1231,3 +1231,20 @@ redirects:
to: /guide/topics/resources/multilingual-support.html
- from: /preview/j8-jack.html
to: /guide/platform/j8-jack.html
+- from: /about/versions/marshmallow/samples.html
+ to: /about/versions/marshmallow/android-6.0-samples.html
+- from: /preview/behavior-changes.html
+ to: /about/versions/nougat/android-7.0-changes.html
+- from: /preview/samples.html
+ to: /about/versions/nougat/android-7.0-samples.html
+- from: /preview/guide.html
+ to: /about/versions/nougat/android-7.0-testing.html
+- from: /preview/api-overview.html
+ to: /about/versions/nougat/android-7.0.html
+- from: /preview/index.html
+ to: /about/versions/nougat/index.html
+- from: /preview/features/background-optimization.html
+ to: /topic/performance/background-optimization.html
+- from: /preview/features/data-saver.html
+ to: /training/basics/network-ops/data-saver.html
+
diff --git a/docs/html/about/_book.yaml b/docs/html/about/_book.yaml
index fdbe53faeaae4..958435d5e894f 100644
--- a/docs/html/about/_book.yaml
+++ b/docs/html/about/_book.yaml
@@ -1,4 +1,16 @@
toc:
+- title: Nougat
+ path: /about/versions/nougat/index.html
+ section:
+ - title: Android 7.0 APIs
+ path: /about/versions/nougat/android-7.0.html
+ - title: Android 7.0 Changes
+ path: /about/versions/nougat/android-7.0-changes.html
+ - title: Android 7.0 Samples
+ path: /about/versions/nougat/android-7.0-samples.html
+ - title: Android 7.0 Testing
+ path: /about/versions/nougat/android-7.0-testing.html
+
- title: Marshmallow
path: /about/versions/marshmallow/index.html
section:
@@ -7,7 +19,9 @@ toc:
- title: Android 6.0 Changes
path: /about/versions/marshmallow/android-6.0-changes.html
- title: Android 6.0 Samples
- path: /about/versions/marshmallow/samples.html
+ path: /about/versions/marshmallow/android-6.0-samples.html
+ - title: Android 6.0 Testing
+ path: /about/versions/marshmallow/android-6.0-testing.html
- title: Lollipop
path: /about/versions/lollipop.html
diff --git a/docs/html/about/versions/marshmallow/samples.jd b/docs/html/about/versions/marshmallow/android-6.0-samples.jd
similarity index 100%
rename from docs/html/about/versions/marshmallow/samples.jd
rename to docs/html/about/versions/marshmallow/android-6.0-samples.jd
diff --git a/docs/html/about/versions/marshmallow/android-6.0-testing.jd b/docs/html/about/versions/marshmallow/android-6.0-testing.jd
new file mode 100644
index 0000000000000..f9d9265ad5493
--- /dev/null
+++ b/docs/html/about/versions/marshmallow/android-6.0-testing.jd
@@ -0,0 +1,183 @@
+page.title=Android 6.0 Testing Guide
+page.image=images/cards/card-n-guide_2x.png
+meta.tags="preview", "testing"
+page.tags="preview", "developer preview"
+
+@jd:body
+
+
+ Android 6.0 gives you an opportunity to ensure your apps work with the next
+ version of the platform. This preview includes a number of APIs and behavior changes that can
+ impact your app, as described in the API
+ Overview and Behavior Changes. In testing
+ your app with the preview, there are some specific system changes that you should focus on to
+ ensure that users have a good experience.
+
+
+
+ This guide describes the what and how to test preview features with your app. You should
+ prioritize testing of these specific preview features, due to their high potential impact on your
+ app's behavior:
+
+
+
+ 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
+ should begin planning your app’s migration to the new permissions model now, with a goal of
+ publishing an updated version of your app at the official platform launch.
+
+
+
+
+ Use the following test tips to help you plan and execute testing of your app with the new
+ permissions behavior.
+
+
+
+ The permissions change affects the structure and design of your app, as well as
+ the user experience and flows you provide to users. You should assess your app’s current
+ permissions use and start planning for the new flows you want to offer. The official release of
+ the platform provides compatibility behavior, but you should plan on updating your app and not
+ rely on these behaviors.
+
+
+
+ Identify the permissions that your app actually needs and uses, and then find the various code
+ paths that use the permission-protected services. You can do this through a combination of
+ testing on the new platform and code analysis. In testing, you should focus on opting in to
+ runtime permissions by changing the app’s {@code targetSdkVersion} to the preview version. For
+ more information, see Set up
+the Android N SDK.
+
+
+
+ Test with various combinations of permissions revoked and added, to highlight the user flows that
+ depend on permissions. Where a dependency is not obvious or logical you should consider
+ refactoring or compartmentalizing that flow to eliminate the dependency or make it clear why the
+ permission is needed.
+
+
+
+ For more information on the behavior of runtime permissions, testing, and best practices, see the
+ Permissions developer
+ preview page.
+
+
+
+
+ The power saving features of Doze and App Standby limit the amount of background processing that
+ your app can perform when a device is in an idle state or while your app is not in focus. The
+ restrictions the system may impose on apps include limited or no network access,
+ suspended background tasks, suspended Notifications, ignored wake requests, and alarms. To ensure
+ that your app behaves properly with these power saving optimizations, you should test your app by
+ simulating these low power states.
+
+
+If your app is persisting any device-specific identifiers, such as Google
+Cloud Messaging registration ID, in internal storage,
+make sure to follow best practices to exclude the storage
+location from auto-backup, as described in Auto
+Backup for Apps.
diff --git a/docs/html/preview/behavior-changes.jd b/docs/html/about/versions/nougat/android-7.0-changes.jd
similarity index 92%
rename from docs/html/preview/behavior-changes.jd
rename to docs/html/about/versions/nougat/android-7.0-changes.jd
index ba08d9b164110..4f9054c7d5266 100644
--- a/docs/html/preview/behavior-changes.jd
+++ b/docs/html/about/versions/nougat/android-7.0-changes.jd
@@ -1,7 +1,7 @@
-page.title=Behavior Changes
+page.title=Android 7.0 Changes
page.keywords=preview,sdk,compatibility
-meta.tags="preview", "compatibility"
-page.tags="preview", "developer preview"
+meta.tags="Android 7.0", "Nougat", "android n", "compatibility"
+page.tags="Android 7.0", "Nougat", "android n", "developer preview"
page.image=images/cards/card-n-changes_2x.png
@jd:body
@@ -44,7 +44,7 @@ page.image=images/cards/card-n-changes_2x.png
- Along with new features and capabilities, Android N
+ Along with new features and capabilities, Android 7.0
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.
@@ -67,7 +67,7 @@ page.image=images/cards/card-n-changes_2x.png
-Android N includes system behavior changes aimed at improving the battery life
+Android 7.0 includes system behavior changes aimed at improving the battery life
of devices and reducing RAM usage. These changes can affect your app’s access to
system resources, along with the way your app interacts with other apps via
certain implicit intents.
@@ -78,14 +78,14 @@ certain implicit intents.
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. Android N brings further
+ stationary, and with the screen turned off. Android 7.0 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.
-
- Android N removes three implicit broadcasts in order to help optimize both
+ Android 7.0 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
@@ -154,12 +154,12 @@ certain implicit intents.
- To alleviate these issues, Android N applies the following
+ To alleviate these issues, Android 7.0 applies the following
optimizations:
If your app uses any of these intents, you should remove dependencies
- on them as soon as possible so that you can target Android N devices properly.
+ on them as soon as possible so that you can target Android 7.0 devices properly.
The Android framework provides several solutions to mitigate the need for
these implicit broadcasts. For example, the {@link
android.app.job.JobScheduler} API provides a robust mechanism to schedule
@@ -193,14 +193,14 @@ certain implicit intents.
- Android N includes changes to permissions that may affect your app.
+ Android 7.0 includes changes to permissions that may affect your app.
In order to improve the security of private files, the private directory of
- apps targeting Android N or higher has restricted access (0700).
+ apps targeting Android 7.0 or higher has restricted access (0700).
This setting prevents leakage of metadata of private files, such as their size
or existence. This permission change has multiple side effects:
@@ -232,7 +232,7 @@ certain implicit intents.
stored files by filename. Legacy applications may end up with an
unaccessible path when accessing {@link
android.app.DownloadManager#COLUMN_LOCAL_FILENAME}. Apps targeting
- Android N or higher trigger a {@link java.lang.SecurityException} when
+ Android 7.0 or higher trigger a {@link java.lang.SecurityException} when
attempting to access
{@link android.app.DownloadManager#COLUMN_LOCAL_FILENAME}.
Legacy applications that set the download location to a public location by
@@ -255,7 +255,7 @@ certain implicit intents.
-For apps targeting Android N, the Android framework enforces
+For apps targeting Android 7.0, the Android framework enforces
the {@link android.os.StrictMode} API policy that prohibits exposing {@code file://} URIs
outside your app. If an intent containing a file URI leaves your app, the app fails
with a {@code FileUriExposedException} exception.
@@ -272,7 +272,7 @@ see Sharing FilesAccessibility Improvements
- Android N includes changes intended to improve the usability of the
+ Android 7.0 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
@@ -283,7 +283,7 @@ see Sharing FilesScreen Zoom
In Android 7.0, several methods that would ordinarily affect the entire
device behave differently if the device has a work profile installed with a
separate work challenge. Rather than affecting the entire device, these
methods apply only to the work profile. (The complete list of such methods is
@@ -785,14 +785,14 @@ JavaVM::AttachCurrentThread from <jni.h>.
- For more information about changes to Android for Work in Android N, see
+ For more information about changes to Android for Work in Android 7.0, see
Android for Work Updates.
Annotations Retention
-Android N fixes a bug where the visibility of annotations was being ignored.
+Android 7.0 fixes a bug where the visibility of annotations was being ignored.
This issue enabled the runtime to access annotations that it should not have been
able to. These annotations included:
@@ -811,7 +811,7 @@ be available at runtime. You do so by using {@code @Retention(RetentionPolicy.RU
Other Important Points
-- When an app is running on Android N, but targets a lower API level,
+
- When an app is running on Android 7.0, but targets a lower API level,
and the user changes display size, the app process is killed. The app
must be able to gracefully handle this scenario. Otherwise, it crashes
when the user restores it from Recents.
@@ -830,7 +830,7 @@ however, they may still respond poorly to configuration changes.
-
-Apps on Android N should be able to gracefully handle configuration changes,
+Apps on Android 7.0 should be able to gracefully handle configuration changes,
and should not crash on subsequent starts. You can verify app behavior
by changing font size (Setting >
Display > Font size), and then restoring
@@ -839,7 +839,7 @@ the app from Recents.
-
Due to a bug in previous versions of Android, the system did not flag writing
-to a TCP socket on the main thread as a strict-mode violation. Android N fixes this bug.
+to a TCP socket on the main thread as a strict-mode violation. Android 7.0 fixes this bug.
Apps that exhibit this behavior now throw an {@code android.os.NetworkOnMainThreadException}.
Generally, performing network operations on the main thread is a bad idea because these operations
usually have a high tail latency that causes ANRs and jank.
@@ -860,7 +860,7 @@ as {@code RuntimeExceptions}, instead of silently logging or suppressing them.
common example is storing too much data in
{@link android.app.Activity#onSaveInstanceState Activity.onSaveInstanceState()},
which causes {@code ActivityThread.StopInfo} to throw a
-{@code RuntimeException} when your app targets Android N.
+{@code RuntimeException} when your app targets Android 7.0.
-
@@ -881,7 +881,7 @@ to a window. This behavior fixes the following bugs:
-
-If an app on Android N with
+If an app on Android 7.0 with
{@link android.Manifest.permission#DELETE_PACKAGES DELETE_PACKAGES}
permission tries to delete a package, but a different app had installed that package,
the system requires user confirmation. In this scenario, apps should expect
diff --git a/docs/html/preview/samples.jd b/docs/html/about/versions/nougat/android-7.0-samples.jd
similarity index 71%
rename from docs/html/preview/samples.jd
rename to docs/html/about/versions/nougat/android-7.0-samples.jd
index 1544d9c92a8b5..98f7090bbb229 100644
--- a/docs/html/preview/samples.jd
+++ b/docs/html/about/versions/nougat/android-7.0-samples.jd
@@ -1,10 +1,10 @@
-page.title=Samples
-page.tags="preview", "samples", "android"
+page.title=Android 7.0 Samples
+page.tags="Android 7.0", "nougat", "samples", "android"
page.image=images/cards/card-n-samples_2x.png
@jd:body
- The following code samples are provided for Android N. To
+ The following code samples are provided for Android 7.0. To
download the samples in Android Studio, select the File > Import
Samples menu option.
@@ -16,7 +16,7 @@ page.image=images/cards/card-n-samples_2x.png
Multi-Window Playground
-
+
This sample demonstrates how to take advantage of multiple window
user interfaces with your app.
@@ -28,7 +28,7 @@ page.image=images/cards/card-n-samples_2x.png
Active Notifications
-
+
This is a pre-existing sample which shows a simple service that sends
notifications using NotificationCompat. Each unread conversation from a user
@@ -45,7 +45,7 @@ page.image=images/cards/card-n-samples_2x.png
Messaging Service
-
+
This is a pre-existing sample which demonstrates how to use
NotificationManager to tell how many notifications an application is currently
@@ -62,7 +62,7 @@ page.image=images/cards/card-n-samples_2x.png
Direct Boot
-
+
This sample demonstrates how to store and access data in a device encrypted
storage which is always available while the device is booted.
@@ -74,7 +74,7 @@ page.image=images/cards/card-n-samples_2x.png
Scoped Directory Access
-
+
This sample demonstrates how to read and write data from specific
directories, while requiring fewer permissions.
@@ -82,4 +82,4 @@ page.image=images/cards/card-n-samples_2x.png
Get it on GitHub
-
\ No newline at end of file
+
diff --git a/docs/html/preview/guide.jd b/docs/html/about/versions/nougat/android-7.0-testing.jd
similarity index 98%
rename from docs/html/preview/guide.jd
rename to docs/html/about/versions/nougat/android-7.0-testing.jd
index 28c0fe9f7fd98..f30382e0decc6 100644
--- a/docs/html/preview/guide.jd
+++ b/docs/html/about/versions/nougat/android-7.0-testing.jd
@@ -1,4 +1,4 @@
-page.title=Testing Guide
+page.title=Android 7.0 Testing Guide
page.image=images/cards/card-n-guide_2x.png
meta.tags="preview", "testing"
page.tags="preview", "developer preview"
@@ -17,7 +17,7 @@ page.tags="preview", "developer preview"
- Android N gives you an opportunity to ensure your apps work with the next
+ Android 7.0 gives you an opportunity to ensure your apps work with the next
version of the platform. This preview includes a number of APIs and behavior changes that can
impact your app, as described in the API
Overview and Behavior Changes. In testing
diff --git a/docs/html/preview/api-overview.jd b/docs/html/about/versions/nougat/android-7.0.jd
similarity index 89%
rename from docs/html/preview/api-overview.jd
rename to docs/html/about/versions/nougat/android-7.0.jd
index c7ffb7a06b760..87c8d936c9ab1 100644
--- a/docs/html/preview/api-overview.jd
+++ b/docs/html/about/versions/nougat/android-7.0.jd
@@ -1,6 +1,6 @@
-page.title=Android N for Developers
-meta.tags="preview", "androidn"
-page.tags="preview", "developer preview"
+page.title=Android 7.0 APIs
+meta.tags="Android 7.0", "android n", "Nougat"
+page.tags="Android 7.0", "Nougat", "android n", "developer preview"
page.image=images/cards/card-n-apis_2x.png
@jd:body
@@ -51,29 +51,27 @@ page.image=images/cards/card-n-apis_2x.png
-
Android N is still in active development, but you can try it
-now as part of the N Developer Preview. The sections below highlight some of
-the new features for developers.
-
- Make sure to check out the Behavior Changes to learn about
- areas where platform changes may affect your apps, take a look at the
- developer guides to learn more about key features, and download the API Reference for details on
- new APIs.
+Android 7.0
+(N)
+offers new features for users and app developers. This document provides
+an introduction to the most notable APIs. Make sure, also,
+to check out the
+Behavior Changes to learn about areas where platform changes
+may affect your apps. In addition, the various developer guides
+can provide more information about key features.
Multi-window Support
-In Android N, we're introducing a new and much-requested multitasking feature
-into the platform — multi-window support.
+In Android 7.0, we're introducing a new and much-requested
+multitasking feature into the platform — multi-window support.
Users can now pop open two apps on the screen at once.
- On phones and tablets
-running Android N, users can run two apps side-by-side or
+running Android 7.0, users can run two apps side-by-side or
one-above-the-other in splitscreen mode. Users can resize the apps by dragging
the divider between them.
@@ -84,7 +82,7 @@ interacts with other apps.
-
Figure 1. Apps running in split-screen mode.
@@ -111,8 +109,8 @@ that size. You can also disable multi-window display for your app, which
Notification Enhancements
-
In Android N we've redesigned notifications to make them easier and faster to
-use. Some of the changes include:
+
In Android 7.0 we've redesigned notifications to make them easier and
+faster to use. Some of the changes include:
-
@@ -150,17 +148,17 @@ use. Some of the changes include:
-
-
-
@@ -177,17 +175,17 @@ use. Some of the changes include:
Profile-guided JIT/AOT Compilation
-
In Android N, we've added a Just in Time (JIT) compiler with code profiling to
-ART, which lets it constantly improve the performance of Android apps as they
-run. The JIT compiler complements ART's current Ahead of Time (AOT) compiler
-and helps improve runtime performance, save storage space, and speed up app
-updates and system updates.
+
In Android 7.0, we've added a Just in Time (JIT) compiler with code
+profiling to ART, which lets it constantly improve the performance of
+Android apps as they run. The JIT compiler complements ART's current
+Ahead of Time (AOT) compiler and helps improve runtime performance, save
+storage space, and speed up app updates and system updates.
-
Profile-guided compilation lets ART manage the AOT/JIT compilation for each app
-according to its actual usage, as well as conditions on the device. For
-example, ART maintains a profile of each app's hot methods and can precompile
-and cache those methods for best performance. It leaves other parts of the app
-uncompiled until they are actually used.
+
Profile-guided compilation lets ART manage the AOT/JIT compilation for
+each app according to its actual usage, as well as conditions on the device.
+For example, ART maintains a profile of each app's hot methods and can
+precompile and cache those methods for best performance. It leaves other parts
+of the app uncompiled until they are actually used.
Besides improving performance for key parts of the app, profile-guided
compilation helps reduce an app's overall RAM footprint, including associated
@@ -210,14 +208,14 @@ seconds. System updates are also faster, since there's no more optimizing step.
apps' CPU and network activities when the device is idle, such as when it's
sitting on a table or in a drawer.
-
Now in Android N, Doze takes a step further and saves battery while on the go.
+
Now in Android 7.0, Doze takes a step further and saves battery while on the go.
Any time the screen is off for a period of time and the device is unplugged,
Doze applies a subset of the familiar CPU and network restrictions to apps.
This means users can save battery even when carrying their devices in their
pockets.
-
Figure 3. Doze now applies
@@ -245,7 +243,7 @@ your app to Doze now.
Project Svelte: Background Optimizations
Project Svelte is an ongoing effort to minimize RAM use by system and apps
-across the range of Android devices in the ecosystem. In Android N, Project
+across the range of Android devices in the ecosystem. In Android 7.0, Project
Svelte is focused on optimizing the way apps run in the background.
Background processing is an essential part of most apps. When handled right, it
@@ -269,17 +267,17 @@ simplicity, and we want all apps to use it.
We're continuing to extend JobScheduler and
GCMNetworkManager to meet more of
-your use cases — for example, in Android N you can now schedule background
+your use cases — for example, in Android 7.0 you can now schedule background
work based on changes in Content Providers. At the same time we're starting to
deprecate some of the older patterns that can reduce system performance,
especially on low-memory devices.
-
In Android N we're removing three commonly-used implicit broadcasts —
+
In Android 7.0 we're removing three commonly-used implicit broadcasts —
{@link android.net.ConnectivityManager#CONNECTIVITY_ACTION}, {@link
android.hardware.Camera#ACTION_NEW_PICTURE}, and {@link
android.hardware.Camera#ACTION_NEW_VIDEO} — since those can wake the
background processes of multiple apps at once and strain memory and battery. If
-your app is receiving these, take advantage of the N Developer Preview to
+your app is receiving these, take advantage of the Android 7.0 to
migrate to JobScheduler and related APIs instead.
@@ -290,7 +288,7 @@ your app is receiving these, take advantage of the N Developer Preview to
SurfaceView
-Android N brings synchronous movement to the {@link android.view.SurfaceView}
+Android 7.0 brings synchronous movement to the {@link android.view.SurfaceView}
class, which provides better battery performance
than {@link android.view.TextureView} in certain cases: When rendering video or
3D content, apps with scrolling and animated video position use less power with
@@ -311,14 +309,14 @@ no longer produce black bars alongside the view as it moves.
-Starting with Android N, we strongly recommend that you save power by using
+Starting with Android 7.0, we strongly recommend that you save power by using
{@link android.view.SurfaceView} instead of {@link android.view.TextureView}.
Data Saver
@@ -128,7 +127,8 @@ footer.hide=1
data-cardSizes="6x6"
data-items-per-page="6"
data-maxResults="15"
- data-initial-results="3">
+ data-initial-results="3">
+
diff --git a/docs/html/preview/images/datasaver.png b/docs/html/images/android-7.0/datasaver.png
similarity index 100%
rename from docs/html/preview/images/datasaver.png
rename to docs/html/images/android-7.0/datasaver.png
diff --git a/docs/html/preview/images/doze-diagram-1.png b/docs/html/images/android-7.0/doze-diagram-1.png
similarity index 100%
rename from docs/html/preview/images/doze-diagram-1.png
rename to docs/html/images/android-7.0/doze-diagram-1.png
diff --git a/docs/html/preview/images/doze-diagram-2.png b/docs/html/images/android-7.0/doze-diagram-2.png
similarity index 100%
rename from docs/html/preview/images/doze-diagram-2.png
rename to docs/html/images/android-7.0/doze-diagram-2.png
diff --git a/docs/html/preview/images/m-preview-timeline-crop.png b/docs/html/images/android-7.0/m-preview-timeline-crop.png
similarity index 100%
rename from docs/html/preview/images/m-preview-timeline-crop.png
rename to docs/html/images/android-7.0/m-preview-timeline-crop.png
diff --git a/docs/html/preview/images/m-preview-timeline.png b/docs/html/images/android-7.0/m-preview-timeline.png
similarity index 100%
rename from docs/html/preview/images/m-preview-timeline.png
rename to docs/html/images/android-7.0/m-preview-timeline.png
diff --git a/docs/html/preview/images/mw-portrait.png b/docs/html/images/android-7.0/mw-portrait.png
similarity index 100%
rename from docs/html/preview/images/mw-portrait.png
rename to docs/html/images/android-7.0/mw-portrait.png
diff --git a/docs/html/preview/images/mw-splitscreen.png b/docs/html/images/android-7.0/mw-splitscreen.png
similarity index 100%
rename from docs/html/preview/images/mw-splitscreen.png
rename to docs/html/images/android-7.0/mw-splitscreen.png
diff --git a/docs/html/preview/images/mw-splitscreen_2x.png b/docs/html/images/android-7.0/mw-splitscreen_2x.png
similarity index 100%
rename from docs/html/preview/images/mw-splitscreen_2x.png
rename to docs/html/images/android-7.0/mw-splitscreen_2x.png
diff --git a/docs/html/preview/images/n-preview-setup.png b/docs/html/images/android-7.0/n-preview-setup.png
similarity index 100%
rename from docs/html/preview/images/n-preview-setup.png
rename to docs/html/images/android-7.0/n-preview-setup.png
diff --git a/docs/html/preview/images/quicksettings.png b/docs/html/images/android-7.0/quicksettings.png
similarity index 100%
rename from docs/html/preview/images/quicksettings.png
rename to docs/html/images/android-7.0/quicksettings.png
diff --git a/docs/html/preview/images/sample-activenotifications.png b/docs/html/images/android-7.0/sample-activenotifications.png
similarity index 100%
rename from docs/html/preview/images/sample-activenotifications.png
rename to docs/html/images/android-7.0/sample-activenotifications.png
diff --git a/docs/html/preview/images/sample-directboot.png b/docs/html/images/android-7.0/sample-directboot.png
similarity index 100%
rename from docs/html/preview/images/sample-directboot.png
rename to docs/html/images/android-7.0/sample-directboot.png
diff --git a/docs/html/preview/images/sample-messagingservice.png b/docs/html/images/android-7.0/sample-messagingservice.png
similarity index 100%
rename from docs/html/preview/images/sample-messagingservice.png
rename to docs/html/images/android-7.0/sample-messagingservice.png
diff --git a/docs/html/preview/images/sample-multiwindow.png b/docs/html/images/android-7.0/sample-multiwindow.png
similarity index 100%
rename from docs/html/preview/images/sample-multiwindow.png
rename to docs/html/images/android-7.0/sample-multiwindow.png
diff --git a/docs/html/preview/images/sample-scopeddirectoryaccess.png b/docs/html/images/android-7.0/sample-scopeddirectoryaccess.png
similarity index 100%
rename from docs/html/preview/images/sample-scopeddirectoryaccess.png
rename to docs/html/images/android-7.0/sample-scopeddirectoryaccess.png
diff --git a/docs/html/images/android-7.0/scoped-folder-access-dont-ask.png b/docs/html/images/android-7.0/scoped-folder-access-dont-ask.png
new file mode 100644
index 0000000000000..5c505d956f5e7
Binary files /dev/null and b/docs/html/images/android-7.0/scoped-folder-access-dont-ask.png differ
diff --git a/docs/html/images/android-7.0/scoped-folder-access-dont-ask_2x.png b/docs/html/images/android-7.0/scoped-folder-access-dont-ask_2x.png
new file mode 100644
index 0000000000000..612b69f8926fc
Binary files /dev/null and b/docs/html/images/android-7.0/scoped-folder-access-dont-ask_2x.png differ
diff --git a/docs/html/images/android-7.0/scoped-folder-access-framed.png b/docs/html/images/android-7.0/scoped-folder-access-framed.png
new file mode 100644
index 0000000000000..0169e4196aff5
Binary files /dev/null and b/docs/html/images/android-7.0/scoped-folder-access-framed.png differ
diff --git a/docs/html/images/android-7.0/scoped-folder-access-framed_2x.png b/docs/html/images/android-7.0/scoped-folder-access-framed_2x.png
new file mode 100644
index 0000000000000..fd59ef17d94ce
Binary files /dev/null and b/docs/html/images/android-7.0/scoped-folder-access-framed_2x.png differ
diff --git a/docs/html/preview/images/screen-zoom-1.png b/docs/html/images/android-7.0/screen-zoom-1.png
similarity index 100%
rename from docs/html/preview/images/screen-zoom-1.png
rename to docs/html/images/android-7.0/screen-zoom-1.png
diff --git a/docs/html/preview/images/screen-zoom-2.png b/docs/html/images/android-7.0/screen-zoom-2.png
similarity index 100%
rename from docs/html/preview/images/screen-zoom-2.png
rename to docs/html/images/android-7.0/screen-zoom-2.png
diff --git a/docs/html/preview/images/studio-jdk-location.jpg b/docs/html/images/android-7.0/studio-jdk-location.jpg
similarity index 100%
rename from docs/html/preview/images/studio-jdk-location.jpg
rename to docs/html/images/android-7.0/studio-jdk-location.jpg
diff --git a/docs/html/jd_extras_en.js b/docs/html/jd_extras_en.js
index ef94cc415a5a6..c79ad88524fd4 100644
--- a/docs/html/jd_extras_en.js
+++ b/docs/html/jd_extras_en.js
@@ -5556,15 +5556,12 @@ METADATA['en'].collections = {
"https://medium.com/google-developers/writing-more-code-by-writing-less-code-with-android-studio-live-templates-244f648d17c7#.hczcm02du",
]
},
- "preview/landing/resources": {
+ "nougat/landing/resources": {
"title": "",
"resources": [
- "preview/overview.html",
- "preview/api-overview.html",
- "preview/behavior-changes.html",
- "preview/setup-sdk.html",
- "preview/samples.html",
- "preview/support.html"
+ "about/versions/nougat/api-overview.html",
+ "about/versions/nougat/behavior-changes.html",
+ "about/versions/nougat/samples.html",
]
},
diff --git a/docs/html/preview/download-ota.jd b/docs/html/preview/download-ota.jd
deleted file mode 100644
index 65f7f9f746f26..0000000000000
--- a/docs/html/preview/download-ota.jd
+++ /dev/null
@@ -1,332 +0,0 @@
-page.title=Applying a Device OTA Image
-
-@jd:body
-
-
-
-
-
-
Before downloading and installing components of
- the Android Preview SDK, you must agree to the following terms and
- conditions.
-
-
Terms and Conditions
-
-
-This is the Android SDK Preview License Agreement (the “License Agreement”).
-
-1. Introduction
-
-1.1 The Android SDK Preview (referred to in the License Agreement as the “Preview” and specifically including the Android system files, packaged APIs, and Preview library files, if and when they are made available) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the Preview.
-
-1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.
-
-1.3 “Android-compatible” means any Android implemation that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS).
-
-1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
-
-2. Accepting the License Agreement
-
-2.1 In order to use the Preview, you must first agree to the License Agreement. You may not use the Preview if you do not accept the License Agreement.
-
-2.2 By clicking to accept and/or using the Preview, you hereby agree to the terms of the License Agreement.
-
-2.3 You may not use the Preview and may not accept the License Agreement if you are a person barred from receiving the Preview under the laws of the United States or other countries including the country in which you are resident or from which you use the Preview.
-
-2.4 If you will use the Preview internally within your company or organization you agree to be bound by the License Agreement on behalf of your employer or other entity, and you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the Preview on behalf of your employer or other entity.
-
-3. Preview License from Google
-
-3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the Preview solely to develop applications for compatible implementations of Android.
-
-3.2 You may not use this Preview to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this Preview is not used for that purpose.
-
-3.3 You agree that Google or third parties owns all legal right, title and interest in and to the Preview, including any Intellectual Property Rights that subsist in the Preview. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
-
-3.4 You may not use the Preview for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the Preview or any part of the Preview; or (b) load any part of the Preview onto a mobile handset or any other hardware device except a personal computer, combine any part of the Preview with other software, or distribute any software or device incorporating a part of the Preview.
-
-3.5 Use, reproduction and distribution of components of the Preview licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. You agree to remain a licensee in good standing in regard to such open source software licenses under all the rights granted and to refrain from any actions that may terminate, suspend, or breach such rights.
-
-3.6 You agree that the form and nature of the Preview that Google provides may change without prior notice to you and that future versions of the Preview may be incompatible with applications developed on previous versions of the Preview. You agree that Google may stop (permanently or temporarily) providing the Preview (or any features within the Preview) to you or to users generally at Google's sole discretion, without prior notice to you.
-
-3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
-
-3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the Preview.
-
-4. Use of the Preview by You
-
-4.1 Google agrees that nothing in the License Agreement gives Google any right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the Preview, including any intellectual property rights that subsist in those applications.
-
-4.2 You agree to use the Preview and write applications only for purposes that are permitted by (a) the License Agreement, and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
-
-4.3 You agree that if you use the Preview to develop applications, you will protect the privacy and legal rights of users. If users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If users provide you with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, each user has given you permission to do so.
-
-4.4 You agree that you will not engage in any activity with the Preview, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of Google or any third party.
-
-4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
-
-4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
-
-4.7 The Preview is in development, and your testing and feedback are an important part of the development process. By using the Preview, you acknowledge that implementation of some features are still under development and that you should not rely on the Preview having the full functionality of a stable release. You agree not to publicly distribute or ship any application using this Preview as this Preview will no longer be supported after the official Android SDK is released.
-
-5. Your Developer Credentials
-
-5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
-
-6. Privacy and Information
-
-6.1 In order to continually innovate and improve the Preview, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the Preview are being used and how they are being used. Before any of this information is collected, the Preview will notify you and seek your consent. If you withhold consent, the information will not be collected.
-
-6.2 The data collected is examined in the aggregate to improve the Preview and is maintained in accordance with Google's Privacy Policy located at http://www.google.com/policies/privacy/.
-
-7. Third Party Applications
-
-7.1 If you use the Preview to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
-
-7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
-
-7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party.
-
-8. Using Google APIs
-
-8.1 Google APIs
-
-8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
-
-8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
-
-9. Terminating the License Agreement
-
-9.1 the License Agreement will continue to apply until terminated by either you or Google as set out below.
-
-9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the Preview and any relevant developer credentials.
-
-9.3 Google may at any time, terminate the License Agreement, with or without cause, upon notice to you.
-
-9.4 The License Agreement will automatically terminate without notice or other action upon the earlier of:
-(A) when Google ceases to provide the Preview or certain parts of the Preview to users in the country in which you are resident or from which you use the service; and
-(B) Google issues a final release version of the Android SDK.
-
-9.5 When the License Agreement is terminated, the license granted to you in the License Agreement will terminate, you will immediately cease all use of the Preview, and the provisions of paragraphs 10, 11, 12 and 14 shall survive indefinitely.
-
-10. DISCLAIMERS
-
-10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE PREVIEW IS AT YOUR SOLE RISK AND THAT THE PREVIEW IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
-
-10.2 YOUR USE OF THE PREVIEW AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE PREVIEW IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. WITHOUT LIMITING THE FOREGOING, YOU UNDERSTAND THAT THE PREVIEW IS NOT A STABLE RELEASE AND MAY CONTAIN ERRORS, DEFECTS AND SECURITY VULNERABILITIES THAT CAN RESULT IN SIGNIFICANT DAMAGE, INCLUDING THE COMPLETE, IRRECOVERABLE LOSS OF USE OF YOUR COMPUTER SYSTEM OR OTHER DEVICE.
-
-10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
-
-11. LIMITATION OF LIABILITY
-
-11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
-
-12. Indemnification
-
-12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys’ fees) arising out of or accruing from (a) your use of the Preview, (b) any application you develop on the Preview that infringes any Intellectual Property Rights of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you of the License Agreement.
-
-13. Changes to the License Agreement
-
-13.1 Google may make changes to the License Agreement as it distributes new versions of the Preview. When these changes are made, Google will make a new version of the License Agreement available on the website where the Preview is made available.
-
-14. General Legal Terms
-
-14.1 the License Agreement constitutes the whole legal agreement between you and Google and governs your use of the Preview (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the Preview.
-
-14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
-
-14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable.
-
-14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement.
-
-14.5 EXPORT RESTRICTIONS. THE PREVIEW IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE PREVIEW. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
-
-14.6 The License Agreement may not be assigned or transferred by you without the prior written approval of Google, and any attempted assignment without such approval will be void. You shall not delegate your responsibilities or obligations under the License Agreement without the prior written approval of Google.
-
-14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
-
-
-
-
-
-
-
-
-
-
-
-
-
- This page provides links to over-the-air (OTA) device images and describes
- how to manually apply an OTA update to a device. This procedure may be useful
- in recovering devices that received OTA updates through the Android Beta
- Program and do not start up after the update is installed.
-
-
-
Installing OTA Images
-
-
-
-
To install an OTA package to a device:
-
-
- - Download an OTA device image from the table below.
- - Reboot the device into Recovery mode. For more information on putting
- Nexus devices in this mode, see
- Reset your Nexus
- device to factory settings.
-
- - On the device, select ADB sideload.
- - Connect the device to a computer with the Android development environment
- loaded and the Android Debug Bridge (adb) tool installed.
- - Run the following command:
-
adb sideload <ota-package>
-
-
-
-
-
-
Device OTA Images
-
-
-
- | Device |
- Download / Checksums |
-
-
-
- Nexus 5X "bullhead" |
- bullhead-ota-npd90g-0a874807.zip
- MD5: 4b83b803fac1a6eec13f66d0afc6f46e
- SHA-1: a9920bcc8d475ce322cada097d085448512635e2
- |
-
-
-
- Nexus 6 "shamu" |
- shamu-ota-npd90g-06f5d23d.zip
- MD5: 513570bb3a91878c2d1a5807d2340420
- SHA-1: 2d2f40636c95c132907e6ba0d10b395301e969ed
- |
-
-
-
- Nexus 6P "angler" |
- angler-ota-npd90g-5baa69c2.zip
- MD5: 096fe26c5d50606a424d2f3326c0477b
- SHA-1: 468d2e7aea444505513ddc183c85690c00fab0c1
- |
-
-
-
- Nexus 9 "volantis" |
- volantis-ota-npd90g-c04785e1.zip
- MD5: 6aecd3b0b3a839c5ce1ce4d12187b03e
- SHA-1: 31633180635b831e59271a7d904439f278586f49
- |
-
-
-
- Nexus 9G "volantisg" |
- volantisg-ota-npd90g-c56aa1b0.zip
- MD5: 0493fa79763d67bcdde8007299e1888d
- SHA-1: f709daf81968a1b27ed41fe40d42e0d106f3c494
- |
-
-
-
- Nexus Player "fugu" |
- fugu-ota-npd90g-3a0643ae.zip
- MD5: 9c38b6647fe5a4f2965196b7c409f0f7
- SHA-1: 77c6fb05191f0c2ae0956bae18f1c80b2f922f05
- |
-
-
-
- Pixel C "ryu" |
- ryu-ota-npd90g-ec931914.zip
- MD5: 4c6135498ca156a9cdaf443ddfdcb2ba
- SHA-1: 297cc9a204685ef5507ec087fc7edf5b34551ce6
- |
-
-
-
- General Mobile 4G (Android One) "seed" |
- seed_l8150-ota-npd90g-dcb0662d.zip
- MD5: f40ea6314a13ea6dd30d0e68098532a2
- SHA-1: 11af10b621f4480ac63f4e99189d61e1686c0865
- |
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/html/preview/download.jd b/docs/html/preview/download.jd
deleted file mode 100644
index e4db8901b46f1..0000000000000
--- a/docs/html/preview/download.jd
+++ /dev/null
@@ -1,562 +0,0 @@
-page.title=Test on a Device
-meta.tags="preview", "nexus","system image"
-page.tags="preview", "androidn"
-page.image=images/cards/card-n-downloads_2x.png
-
-@jd:body
-
-
-
-
-
-
Before downloading and installing components of
- the Android Preview SDK, you must agree to the following terms and
- conditions.
-
-
Terms and Conditions
-
-
-This is the Android SDK Preview License Agreement (the “License Agreement”).
-
-1. Introduction
-
-1.1 The Android SDK Preview (referred to in the License Agreement as the “Preview” and specifically including the Android system files, packaged APIs, and Preview library files, if and when they are made available) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the Preview.
-
-1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.
-
-1.3 “Android-compatible” means any Android implemation that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS).
-
-1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
-
-2. Accepting the License Agreement
-
-2.1 In order to use the Preview, you must first agree to the License Agreement. You may not use the Preview if you do not accept the License Agreement.
-
-2.2 By clicking to accept and/or using the Preview, you hereby agree to the terms of the License Agreement.
-
-2.3 You may not use the Preview and may not accept the License Agreement if you are a person barred from receiving the Preview under the laws of the United States or other countries including the country in which you are resident or from which you use the Preview.
-
-2.4 If you will use the Preview internally within your company or organization you agree to be bound by the License Agreement on behalf of your employer or other entity, and you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the Preview on behalf of your employer or other entity.
-
-3. Preview License from Google
-
-3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the Preview solely to develop applications for compatible implementations of Android.
-
-3.2 You may not use this Preview to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this Preview is not used for that purpose.
-
-3.3 You agree that Google or third parties owns all legal right, title and interest in and to the Preview, including any Intellectual Property Rights that subsist in the Preview. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
-
-3.4 You may not use the Preview for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the Preview or any part of the Preview; or (b) load any part of the Preview onto a mobile handset or any other hardware device except a personal computer, combine any part of the Preview with other software, or distribute any software or device incorporating a part of the Preview.
-
-3.5 Use, reproduction and distribution of components of the Preview licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. You agree to remain a licensee in good standing in regard to such open source software licenses under all the rights granted and to refrain from any actions that may terminate, suspend, or breach such rights.
-
-3.6 You agree that the form and nature of the Preview that Google provides may change without prior notice to you and that future versions of the Preview may be incompatible with applications developed on previous versions of the Preview. You agree that Google may stop (permanently or temporarily) providing the Preview (or any features within the Preview) to you or to users generally at Google's sole discretion, without prior notice to you.
-
-3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
-
-3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the Preview.
-
-4. Use of the Preview by You
-
-4.1 Google agrees that nothing in the License Agreement gives Google any right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the Preview, including any intellectual property rights that subsist in those applications.
-
-4.2 You agree to use the Preview and write applications only for purposes that are permitted by (a) the License Agreement, and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
-
-4.3 You agree that if you use the Preview to develop applications, you will protect the privacy and legal rights of users. If users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If users provide you with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, each user has given you permission to do so.
-
-4.4 You agree that you will not engage in any activity with the Preview, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of Google or any third party.
-
-4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
-
-4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
-
-4.7 The Preview is in development, and your testing and feedback are an important part of the development process. By using the Preview, you acknowledge that implementation of some features are still under development and that you should not rely on the Preview having the full functionality of a stable release. You agree not to publicly distribute or ship any application using this Preview as this Preview will no longer be supported after the official Android SDK is released.
-
-5. Your Developer Credentials
-
-5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
-
-6. Privacy and Information
-
-6.1 In order to continually innovate and improve the Preview, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the Preview are being used and how they are being used. Before any of this information is collected, the Preview will notify you and seek your consent. If you withhold consent, the information will not be collected.
-
-6.2 The data collected is examined in the aggregate to improve the Preview and is maintained in accordance with Google's Privacy Policy located at http://www.google.com/policies/privacy/.
-
-7. Third Party Applications
-
-7.1 If you use the Preview to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
-
-7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
-
-7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party.
-
-8. Using Google APIs
-
-8.1 Google APIs
-
-8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
-
-8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
-
-9. Terminating the License Agreement
-
-9.1 the License Agreement will continue to apply until terminated by either you or Google as set out below.
-
-9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the Preview and any relevant developer credentials.
-
-9.3 Google may at any time, terminate the License Agreement, with or without cause, upon notice to you.
-
-9.4 The License Agreement will automatically terminate without notice or other action upon the earlier of:
-(A) when Google ceases to provide the Preview or certain parts of the Preview to users in the country in which you are resident or from which you use the service; and
-(B) Google issues a final release version of the Android SDK.
-
-9.5 When the License Agreement is terminated, the license granted to you in the License Agreement will terminate, you will immediately cease all use of the Preview, and the provisions of paragraphs 10, 11, 12 and 14 shall survive indefinitely.
-
-10. DISCLAIMERS
-
-10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE PREVIEW IS AT YOUR SOLE RISK AND THAT THE PREVIEW IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
-
-10.2 YOUR USE OF THE PREVIEW AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE PREVIEW IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. WITHOUT LIMITING THE FOREGOING, YOU UNDERSTAND THAT THE PREVIEW IS NOT A STABLE RELEASE AND MAY CONTAIN ERRORS, DEFECTS AND SECURITY VULNERABILITIES THAT CAN RESULT IN SIGNIFICANT DAMAGE, INCLUDING THE COMPLETE, IRRECOVERABLE LOSS OF USE OF YOUR COMPUTER SYSTEM OR OTHER DEVICE.
-
-10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
-
-11. LIMITATION OF LIABILITY
-
-11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
-
-12. Indemnification
-
-12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys’ fees) arising out of or accruing from (a) your use of the Preview, (b) any application you develop on the Preview that infringes any Intellectual Property Rights of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you of the License Agreement.
-
-13. Changes to the License Agreement
-
-13.1 Google may make changes to the License Agreement as it distributes new versions of the Preview. When these changes are made, Google will make a new version of the License Agreement available on the website where the Preview is made available.
-
-14. General Legal Terms
-
-14.1 the License Agreement constitutes the whole legal agreement between you and Google and governs your use of the Preview (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the Preview.
-
-14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
-
-14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable.
-
-14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement.
-
-14.5 EXPORT RESTRICTIONS. THE PREVIEW IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE PREVIEW. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
-
-14.6 The License Agreement may not be assigned or transferred by you without the prior written approval of Google, and any attempted assignment without such approval will be void. You shall not delegate your responsibilities or obligations under the License Agreement without the prior written approval of Google.
-
-14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- To run and test your app on the new platform you need to set up an Android N
- runtime environment. You can do that in either of these ways:
-
-
-
- - Install Android N on a supported hardware device, or
- - Set up an Android emulator running Android N
-
-
-
- If you want an environment for basic compatibility testing of your app on the
- new platform, all you need is your current APK and a hardware device or
- emulator. You don't necessarily need to update your full development
- environment to do basic testing.
-
-
-
- If you want to modify your app to target Android N or use new Android N APIs,
- you need to set up a development environment that's updated to support
- Android N. Set Up to Develop for
- Android N has details.
-
-
-
-
Set up a hardware device
-
-
- The N Developer Preview offers system updates for a range of hardware devices
- that you can use for testing your app, from phones to tablets and TV.
-
-
-
- If you have access to a supported device, you can update it to a Developer
- Preview milestone build in one of these ways:
-
-
-
- -
- Enroll the device in automatic OTA system updates through
- the Android Beta Program. Once
- enrolled, your device will receive regular over-the-air (OTA) updates of
- all milestone builds in the N Developer Preview. When the next version of
- Android is released, your device will automatically update to the final
- version. This approach is recommended because it lets you seamlessly
- transition from your current environment, through the various releases of
- the N Developer Preview, to the release version.
-
-
- -
- Download a Developer Preview system image and flash the
- device. OTA updates are not provided automatically for devices
- that you flash manually, but you can enroll those devices in Android Beta
- Program to get OTA updates. When the next version of Android is released,
- you can download the final device image from the factory images page.
-
-
-
-
Enroll the device in automatic OTA updates
-
-
- If you have access to a supported device (see the list in the Downloads
- table), you can receive over-the-air updates to preview versions of Android
- by enrolling that device in the Android
- Beta Program. These updates are automatically downloaded and will update
- your device just like official system updates. When the next version of
- Android is released, the device will automatically update to the production
- version.
-
-
-
- You can un-enroll a device at any time. The device will receive an OTA update
- to the most recent production version of Android available for that device
- (for example, Android 6.0 Marshmallow). The update requires a full device
- reset, so user data on the device will be removed. Make sure to back
- up important data before un-enrolling a device.
-
-
-
- For more information and to enroll your device, see
- the Android Beta Program web site.
-
-
-
Note:
- Un-enrolling requires a full device reset. Back up
- important data first.
-
-
-
Flashing a device manually
-
-
- At any time you can download the latest Developer Preview system image and
- manually flash it to your device. See the table below to download the system
- image for your test device. Manually flashing a device is useful if you need
- precise control over the test environment or need to reinstall frequently,
- such as for automated testing.
-
-
-
- Installing a system image on a device removes all data from the
- device, so you should back up your data first.
-
-
-
- After you back up your device data and download the system image below that
- matches your device, follow the instructions at developers.google.com/android
- to flash the image onto your device.
-
-
-
- Manually flashed system images do not
- automatically receive OTA updates to later Developer Preview
- milestone builds or the final, production version. Make sure to keep your
- environment up-to-date and flash a
- new system image at each Developer Preview milestone.
-
-
-
- If you decide you want to get OTA updates after manually flashing a device,
- all you need to do is enroll the device in the Android
- Beta Program. You can enroll the device at any time to receive the next Preview
- update over the air.
-
-
-
-
-
Uninstalling the Preview from a device
-
-
- If you want to uninstall the preview from a device, you can do so in one of
- these ways:
-
- - Obtain a factory spec system image and then manually
- flash it to the device.
-
- - For Nexus devices and Pixel C devices, see
- the Factory Images
- for Nexus Devices page for downloads.
- - For other devices, please contact the device manufacturer
- directly. Alternatively, if the device is supported
- in the Android Beta Program, you can enroll the device in the
- program and then un-enroll it (see below).
-
-
- - Un-enroll the device from Android Beta Program. If the
- device is enrolled in the Android Beta
- Program, regardless of device, you can simply un-enroll it from the program.
-
- The device will receive an OTA update to the most recent production version
- of Android available for that device (for example, Android 6.0 Marshmallow).
- The update requires a full device reset, so user data on the device will be
- removed. Make sure to back up important data before
- un-enrolling a device.
-
-
-
-
-
Note:
- Uninstalling a Developer Preview system image prior to
- the end of the program requires a full device reset and removes all user data
- on the device.
-
-
-
-
Set up an emulator
-
-
To use the Android Emulator to run the Android N Preview, you need to
-download the Android N Preview SDK and create a virtual device for the
-emulator.
-
-
First, download the Android N Preview SDK as follows (if you
-already got it while setting up
-to develop for Android N, you can skip this part):
-
-
- - In Android Studio, open the Settings dialog
- (File > Settings on Windows/Linux, or
- Android Studio > Preferences on Mac). In the left
- panel, select Appearance & Behavior >
- System Settings > Android SDK.
-
-
- Click the SDK Platforms tab, then select the
- Android N Preview check box.
-
- - Click the SDK Tools tab, then select the
- Android SDK Build Tools, Android SDK
- Platform-Tools, and Android SDK Tools check
- boxes.
-
-
- - Click OK and accept the license
- agreements for any packages to be installed.
-
-
-
-
You should now have Android SDK Built-Tools 24.0 0 rc1,
-Platform-Tools 24.0.0 rc1, and SDK Tools
-25.0.9. If you do not update the SDK Tools to 25.0.9, then you won't
-be able to run the x86_64 system images for Android N.
-
-
-
Now create a virtual device with the Android N system image:
-
-
- - Open the AVD Manager by selecting Tools > Android >
- AVD Manager.
- - Click Create Virtual Device.
- - Select a device such as Nexus 5X, Nexus 6P, Nexus 9, or Android TV,
- then click Next.
- - Select the N system image (with the
- x86 ABI), then click Next.
- (Only x86 system images are currently supported with the Android Emulator
-for the Android N Preview.)
-
- Complete the rest of the AVD configuration and click
- Finish.
-
-
-
You can now launch the Android Emulator with the Android N Preview AVD.
-
-
-For the best experience in the Android Emulator, make sure you're using
-Android Studio 2.1 or higher, which supports Android Emulator 2.0
-with much faster performance compared to the emulator in
-Android Studio 1.5.
-
-
For more information about creating virtual devices, see Managing Virtual Devices.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/html/preview/license.jd b/docs/html/preview/license.jd
deleted file mode 100644
index ae02aae58a192..0000000000000
--- a/docs/html/preview/license.jd
+++ /dev/null
@@ -1,145 +0,0 @@
-page.title=License Agreement
-
-@jd:body
-
-
-To get started with the Android SDK Preview, you must agree to the following terms and conditions.
-As described below, please note that this is a preview version of the Android SDK, subject to change, that you use at your own risk. The Android SDK Preview is not a stable release, and may contain errors and defects that can result in serious damage to your computer systems, devices and data.
-
-
-
-This is the Android SDK Preview License Agreement (the “License Agreement”).
-
-
-1. Introduction
-
-1.1 The Android SDK Preview (referred to in the License Agreement as the “Preview” and specifically including the Android system files, packaged APIs, and Preview library files, if and when they are made available) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the Preview.
-
-1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time.
-
-1.3 “Android-compatible” means any Android implemation that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS).
-
-1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States.
-
-2. Accepting the License Agreement
-
-2.1 In order to use the Preview, you must first agree to the License Agreement. You may not use the Preview if you do not accept the License Agreement.
-
-2.2 By clicking to accept and/or using the Preview, you hereby agree to the terms of the License Agreement.
-
-2.3 You may not use the Preview and may not accept the License Agreement if you are a person barred from receiving the Preview under the laws of the United States or other countries including the country in which you are resident or from which you use the Preview.
-
-2.4 If you will use the Preview internally within your company or organization you agree to be bound by the License Agreement on behalf of your employer or other entity, and you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the Preview on behalf of your employer or other entity.
-
-3. Preview License from Google
-
-3.1 Subject to the terms of this License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the Preview solely to develop applications for compatible implementations of Android.
-
-3.2 You may not use this Preview to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this Preview is not used for that purpose.
-
-3.3 You agree that Google or third parties owns all legal right, title and interest in and to the Preview, including any Intellectual Property Rights that subsist in the Preview. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you.
-
-3.4 You may not use the Preview for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the Preview or any part of the Preview; or (b) load any part of the Preview onto a mobile handset or any other hardware device except a personal computer, combine any part of the Preview with other software, or distribute any software or device incorporating a part of the Preview.
-
-3.5 Use, reproduction and distribution of components of the Preview licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. You agree to remain a licensee in good standing in regard to such open source software licenses under all the rights granted and to refrain from any actions that may terminate, suspend, or breach such rights.
-
-3.6 You agree that the form and nature of the Preview that Google provides may change without prior notice to you and that future versions of the Preview may be incompatible with applications developed on previous versions of the Preview. You agree that Google may stop (permanently or temporarily) providing the Preview (or any features within the Preview) to you or to users generally at Google's sole discretion, without prior notice to you.
-
-3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features.
-
-3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the Preview.
-
-4. Use of the Preview by You
-
-4.1 Google agrees that nothing in the License Agreement gives Google any right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the Preview, including any intellectual property rights that subsist in those applications.
-
-4.2 You agree to use the Preview and write applications only for purposes that are permitted by (a) the License Agreement, and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries).
-
-4.3 You agree that if you use the Preview to develop applications, you will protect the privacy and legal rights of users. If users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If users provide you with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, each user has given you permission to do so.
-
-4.4 You agree that you will not engage in any activity with the Preview, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of Google or any third party.
-
-4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so.
-
-4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach.
-
-4.7 The Preview is in development, and your testing and feedback are an important part of the development process. By using the Preview, you acknowledge that implementation of some features are still under development and that you should not rely on the Preview having the full functionality of a stable release. You agree not to publicly distribute or ship any application using this Preview as this Preview will no longer be supported after the official Android SDK is released.
-
-5. Your Developer Credentials
-
-5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials.
-
-6. Privacy and Information
-
-6.1 In order to continually innovate and improve the Preview, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the Preview are being used and how they are being used. Before any of this information is collected, the Preview will notify you and seek your consent. If you withhold consent, the information will not be collected.
-
-6.2 The data collected is examined in the aggregate to improve the Preview and is maintained in accordance with Google's Privacy Policy located at http://www.google.com/policies/privacy/.
-
-7. Third Party Applications
-
-7.1 If you use the Preview to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources.
-
-7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners.
-
-7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party.
-
-8. Using Google APIs
-
-8.1 Google APIs
-
-8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service.
-
-8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so.
-
-9. Terminating the License Agreement
-
-9.1 the License Agreement will continue to apply until terminated by either you or Google as set out below.
-
-9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the Preview and any relevant developer credentials.
-
-9.3 Google may at any time, terminate the License Agreement, with or without cause, upon notice to you.
-
-9.4 The License Agreement will automatically terminate without notice or other action upon the earlier of:
-(A) when Google ceases to provide the Preview or certain parts of the Preview to users in the country in which you are resident or from which you use the service; and
-(B) Google issues a final release version of the Android SDK.
-
-9.5 When the License Agreement is terminated, the license granted to you in the License Agreement will terminate, you will immediately cease all use of the Preview, and the provisions of paragraphs 10, 11, 12 and 14 shall survive indefinitely.
-
-10. DISCLAIMERS
-
-10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE PREVIEW IS AT YOUR SOLE RISK AND THAT THE PREVIEW IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE.
-
-10.2 YOUR USE OF THE PREVIEW AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE PREVIEW IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. WITHOUT LIMITING THE FOREGOING, YOU UNDERSTAND THAT THE PREVIEW IS NOT A STABLE RELEASE AND MAY CONTAIN ERRORS, DEFECTS AND SECURITY VULNERABILITIES THAT CAN RESULT IN SIGNIFICANT DAMAGE, INCLUDING THE COMPLETE, IRRECOVERABLE LOSS OF USE OF YOUR COMPUTER SYSTEM OR OTHER DEVICE.
-
-10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
-
-11. LIMITATION OF LIABILITY
-
-11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING.
-
-12. Indemnification
-
-12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys’ fees) arising out of or accruing from (a) your use of the Preview, (b) any application you develop on the Preview that infringes any Intellectual Property Rights of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you of the License Agreement.
-
-13. Changes to the License Agreement
-
-13.1 Google may make changes to the License Agreement as it distributes new versions of the Preview. When these changes are made, Google will make a new version of the License Agreement available on the website where the Preview is made available.
-
-14. General Legal Terms
-
-14.1 the License Agreement constitutes the whole legal agreement between you and Google and governs your use of the Preview (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the Preview.
-
-14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google.
-
-14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable.
-
-14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement.
-
-14.5 EXPORT RESTRICTIONS. THE PREVIEW IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE PREVIEW. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE.
-
-14.6 The License Agreement may not be assigned or transferred by you without the prior written approval of Google, and any attempted assignment without such approval will be void. You shall not delegate your responsibilities or obligations under the License Agreement without the prior written approval of Google.
-
-14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction.
-
-
-
\ No newline at end of file
diff --git a/docs/html/preview/overview.jd b/docs/html/preview/overview.jd
deleted file mode 100644
index 601442e95fef2..0000000000000
--- a/docs/html/preview/overview.jd
+++ /dev/null
@@ -1,450 +0,0 @@
-page.title=Program Overview
-page.metaDescription=Get your apps ready for the next version of Android.
-page.image=images/cards/card-n-overview_2x.png
-meta.tags="preview", "developer", "android"
-page.tags="preview", "developer", "android"
-
-@jd:body
-
-
-
-
- Welcome to the Android N Developer Preview, a program that
- gives you everything you need to test and optimize your apps for the next
- version of Android. It's free, and you can get started right away just by
- downloading the N Developer Preview tools.
-
-
-
-
-
-
-
-
-
-
-
-
-
- Hardware and emulator images
-
-
-
- Run and test your apps on a range of devices or on an emulator.
-
-
-
-
-
-
- Latest platform code
-
-
-
- We’ll provide monthly updates during the Preview, so you’ll be testing against the latest platform changes.
-
-
-
-
-
- Priority for developer issues
-
-
-
- During the first several weeks we’ll give priority to developer-reported
- issues, so test and give feedback as soon as possible.
-
-
-
-
-
-
-
-
-
-
- New behaviors and capabilities
-
-
-
- Start work early to support new platform behaviors and develop with new features.
-
-
-
-
-
- Updates delivered by OTA
-
-
-
- Seamless over-the-air updates for any supported device through the
- Android Beta Program. No flashing is needed.
-
-
-
-
-
-
-
-
-
-
-Timeline and updates
-
-
- The N Developer Preview runs from 9 March 2016 until the final Android N
- public release to AOSP and OEMs, planned for Q3 2016.
-
-
-
-
-
- At key development milestones, we’ll deliver updates for your development and
- testing environment. In general you can expect an update each month (4 to 6
- week interval). The milestones are listed below.
-
-
-
- - Preview 1 (initial release, alpha)
- - Preview 2 (incremental update, alpha)
- - Preview 3 (incremental update, beta)
- - Preview 4 (final APIs and official SDK, Play publishing)
- - Preview 5 (near-final system images for final testing)
- - Final release to AOSP and ecosystem
-
-
-
- Each update includes SDK tools, preview system images, emulators, reference
- documentation, and API diffs.
-
-
-
- The first three preview milestones provide an early
- test and development environment that help you identify
- compatibility issues in your current apps and plan migration or feature work
- needed to target the new platform. This is the priority period in which to
- give us your feedback on features and APIs and file compatibility issues
- — for all of these, please use the issue
- tracker. You can expect some API changes across these updates.
-
-
-
- At previews 4 and 5 you’ll have access to the final
- N APIs and SDK to develop with, as well as near-final system images
- to test system behaviors and features. Android N will provide a standard API
- level at this time. You can begin final compatibility testing of your legacy
- apps and refine any new code that is using the N APIs or features.
-
-
-
- Also starting in preview 4, you’ll be able to publish apps to
- devices running Android N at the official API level, such as
- consumer devices that have opted into the Android Beta program. You can
- publish into the Google Play alpha and beta channels first, so you can test
- your apps with Android Beta consumers before distributing broadly on the
- store.
-
-
-
- As you test and develop on Android N, we strongly recommend keeping
- your development environment up-to-date as preview updates are
- released. To make the process easier, you can enroll your test devices in the
- Android Beta program and get updates over-the-air (OTA) at
- each milestone. Alternatively, updated preview images are available that you
- download and flash manually.
-
-
-
- We’ll notify you when preview updates are available via the Android Developers Blog, as
- well as this site and the Android
- N Developer Community.
-
-
-
-
-
-
- The N Developer Preview includes everything you need to test your existing
- apps on a variety of screen sizes, network technologies, CPU/GPU chipsets,
- and hardware architectures.
-
-
-
-
-You can download these components through the SDK Manager in Android Studio:
-
-
- - N Developer Preview SDK and tools
-
- N Developer Preview emulator system image (32-bit & 64-bit)
-
- N Developer Preview emulator system Image for Android TV (32-bit)
-
- N Developer Preview support libraries (for new app templates)
-
-
-
- We’ll provide updates to these development tools at each milestone as needed.
-
-
-Hardware system images
-
-
- The N Developer Preview includes Nexus and other hardware system images that you can use when
- testing and developing on physical devices. See the Device Images page for the full list
- of hardware images.
-
-
-
- We’ll deliver updated system images for these devices at each milestone. You
- can download and flash the updated system images to your test devices
- manually, as frequently as you need. This is especially useful for automated
- testing environments where you might need to reflash your device multiple
- times.
-
-
-Note:
- Devices flashed manually will not get OTA updates like in
- last year’s preview. This year, you can get OTAs by enrolling devices in the
- Android Beta Program — see details in the next section.
-
-
-OTA Updates through Android Beta Program
-
-
- New for Android N is an Over-the-Air (OTA) update program that automatically
- delivers the latest preview updates of Android N directly to devices enrolled
- in the program. The program is free, and it’s open to anyone who has a
- supported device that’s registered to their Google account.
-
-
-
- To enroll in the program visit the Android
- Beta Program site. You’ll
- see all of the devices registered to your account that are eligible to enroll
- in Android Beta.
-
-
-
- - Choose the devices you want to receive the Android N updates
-
- Click Enroll, read and agree to the terms of service, and then click OK
-
-
-
- Once you’ve enrolled, your device will soon receive an update. In most cases,
- you will not need to do a full reset of your data to move to Android N, but
- it’s recommended that you back up any data you don’t want to lose before
- enrolling the device.
-
-
-
- As updates are delivered to your device, we recommend downloading and
- installing them as soon as possible. You’ll want to stay current with the
- latest changes in system UI, behavior, APIs, and features.
-
-
-
- At the conclusion of the Developer Preview, your enrolled devices will
- receive an update to the official Android N release.
-
-
-
- You can un-enroll your devices from the Android Beta program at any time from
- the Android Beta site. Before un-enrolling, make sure to back-up your data on
- the device.
-
-
- Note:
- When you un-enroll, your device will be factory reset
- to the latest version
- of Android 6.0 Marshmallow (not necessarily the version that you had
- installed prior to enrolling the device). To ensure a clean installation,
- your data will be erased from the device, including contacts, messages,
- photos, and so on.
-
-
-Documentation and sample code
-
-
- These documentation resources are available on the Developer Preview site to
- help you learn about the Android N:
-
-
-
- - Set Up to Develop for
-Android N has
- step-by-step instructions for getting started.
- - Behavior
- Changes points you to key areas to test.
- - Documentation of new APIs, including an API Overview, downloadable
- API
- Reference, and detailed developer guides on key features such as
- multi-window support, bundled notifications, multi-locale support, and others.
-
- Sample code that
- demonstrates how to support permissions and other new features.
-
- Release notes
- for the current version of the N Developer Preview, including change notes and
- diff reports.
-
-
-Downloadable API Reference
-
-
- During the early preview updates, you can download the latest
- API Reference
- for the Android N platform as a separate zip archive. The reference
- download also includes a diff report that helps you identify API changes from
- API 23 and the previous update.
-
-
-
- When the Android N APIs are final and an official API level is assigned,
- we’ll provide the API reference to you online at https://developer.android.com.
-
-
-
- Support resources
-
-
-
- As you test and develop on the N Developer Preview, please use these channels
- to report issues and give feedback.
-
-
-
- - N Developer Preview Issue
- Tracker is your primary feedback channel. You can report bugs, performance
- issues, and general feedback through the issue tracker. You can also check for
-known issues and
- find workaround steps. We’ll keep you updated on your issue as it’s triaged and sent to
- the Android engineering team for review.
- - The Android N Developer Community is
- a Google+ community where you can connect with other developersworking with
- Android N. You can share observations or ideas or find answers to
- questions about Android N. We’ll moderate the community and provide answers and
- guidance as needed.
-
-
-Targeting, preview APIs, and publishing
-
-
- The N Developer Preview provides a development-only system and Android
- library that does not have a standard API level. If you want
- to opt out of compatibility behaviors to test your app (which is strongly
- recommended), you can target the preview version of Android N by setting your
- app's targetSdkVersion
- to “N”.
-
-
-
- The Android N Developer Preview delivers preview APIs
- — the APIs will not be official until the final SDK is released,
- currently planned for the third quarter of 2016. This means that you can
- expect minor API changes over time, especially during
- initial weeks of the program. We’ll provide a summary of changes to you with
- each update of the Android N Developer Preview.
-
-
-
- Note: Although preview APIs may change, underlying
- system behaviors are stable and ready for testing against
- right away.
-
-
-
- Google Play prevents publishing of apps targeting the N Developer
- Preview. When the Android N final SDK is available, you’ll be able
- to target the official Android N API level and publish your app to Google
- Play via the alpha and beta release channels. Meanwhile, if you want to
- distribute an app targeting Android N to testers, you can do so via email or
- by direct download from your site.
-
-
-
- At the full release of Android N to AOSP and OEMs, planned for Q3 2016,
- you’ll be able to publish your apps targeting Android N to the public release
- channel in Google Play.
-
-
-
-How to get started
-
-
- To get started testing your app with Android N:
-
-
-
- - Review the API Overview
- and Behavior Changes to
- get an idea of what's new and how it affects your apps. In particular,
- learn about the new notifications features and
- multi-window support.
- - Set up your environment by following the instructions for Setting up the Preview SDK
- and configuring test devices.
- - Follow the
- instructions to update your device to the latest build of the N Developer
- Preview. The easiest way is to enroll your device in
- Android Beta program.
- - Review the API Reference
- and Android N samples to gain more
- insight into new API features and how to use them in your app.
-
- Join the Android N
- Developer Community to get the latest news and connect with other
- developers working with the new platform.
-
-
-
- Thank you for your participation in the Android N Developer Preview program!
-
diff --git a/docs/html/preview/preview_toc.cs b/docs/html/preview/preview_toc.cs
deleted file mode 100644
index 34d00a400ef14..0000000000000
--- a/docs/html/preview/preview_toc.cs
+++ /dev/null
@@ -1,235 +0,0 @@
-
-
- -
-
-
-
-
- -
-
-
-
- -
-
-
-
- -
-
-
-
-
- -
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
- -
-
-
-
-
diff --git a/docs/html/preview/setup-sdk.jd b/docs/html/preview/setup-sdk.jd
deleted file mode 100644
index ff11e8e93c3f0..0000000000000
--- a/docs/html/preview/setup-sdk.jd
+++ /dev/null
@@ -1,175 +0,0 @@
-page.title=Set Up the Preview
-meta.keywords="preview", "android"
-page.tags="preview", "developer preview"
-page.image=images/cards/card-n-sdk_2x.png
-
-@jd:body
-
-
-
-
-To develop apps for the Android N Preview, you need to make some updates
-to your developer environment, as described on this page.
-
-To simply test your app's compatibility on the
-Android N system image, follow the guide to Test on an Android N Device.
-
-
-
-
-Get Android Studio 2.1
-
-The Android N platform adds support for Java 8 language features,
-which require a new compiler called Jack. The latest version of Jack
-is currently supported only in Android Studio 2.1. So if you want to
-use Java 8 language features, you need to use Android Studio 2.1 to
-build your app. Otherwise, you don't need to use the Jack compiler, but you
-still need to update to JDK 8 to compile against the Android N platform,
-as described below.
-
-If you already have Android Studio installed, make sure you have Android
-Studio 2.1 or higher by clicking Help > Check for Update
-(on Mac, Android Studio > Check for Updates).
-
-If you don't have it, download Android Studio
-2.1 here.
-
-
-Get the N Preview SDK
-
-To start developing with Android N APIs, you need to install the
-Android N Preview SDK in Android Studio as follows:
-
-
- - Open the SDK Manager by clicking Tools > Android >
- SDK Manager.
-
- - In the SDK Platforms tab, select the
- Android N Preview check box.
-
- - Click the SDK Tools tab, then select the
- Android SDK Build Tools, Android SDK
- Platform-Tools, and Android SDK Tools check
- boxes.
-
-
- - Click OK, then accept the licensing
- agreements for any packages that need to be installed.
-
-
-
-Get the N Preview reference documentation
-
-Beginning with the Preview 4 release, the API reference for the
- N platform (API level 24) is now available online at developer.android.com/reference/. There is also
- an incremental diff report for API changes between API levels 23 and 24.
-
-Get the Java 8 JDK
-
-To compile your app against the Android N platform and use some tools with
-Android Studio 2.1, you need to install the Java 8 Developer Kit (JDK 8). So, if
-you don't already have the latest version, download JDK 8 now.
-
-Then set the JDK version in Android Studio as follows:
-
-
- - Open an Android project in Android Studio, then open the
- Project Structure dialog by selecting File >
- Project Structure. (Alternatively, you can set the default
- for all projects by selecting File > Other Settings >
- Default Project Structure.)
-
- - In the left panel of the dialog, click SDK Location.
-
- - In the JDK Location field, enter the location of the
- Java 8 JDK (click the button on the right
- to browse your files), then click OK.
-
-
-
-
-
-
-Update or Create a Project
-
-Now that the N platform API level is "24" instead
-of "N", you can configure your projects normally with this API level (and even
-publish your apps compiled with API 24 on Google Play). Just be sure that you've
-updated your project to use Android SDK Build Tools 24.0.0 and
-Android SDK Platform-Tools 24.0.0.
-
-If you plan to use Java 8 language features, you should also read
-Java 8 Language Features
-for information about the supported Java 8 features and
-how to configure your project with the Jack compiler.
-
-
-Update an existing project
-
-Open the
- build.gradle file for your module and update the values as
- follows:
-
-
-
-android {
- compileSdkVersion 24
- buildToolsVersion '24.0.0'
- ...
-
- defaultConfig {
- targetSdkVersion 24
- ...
- }
- ...
-}
-
-Now that the API level 24 is final, you can compile against it and keep your
-minSdkVersion to whatever version is appropriate for your app.
-
-
-Create a new project
-
-
-To create a new project for development with the Android N Preview SDK:
-
-
- - Click File > New Project. and follow the steps until
- you reach the Target Android Devices page.
-
- - On this page, select the Phone and Tablet check box.
- - Under Phone and Tablet option, in the Minimum
- SDK option list, select
- API 24: Android 6.X (N Preview).
-
-
-
-Next Steps
-
-
diff --git a/docs/html/preview/support.jd b/docs/html/preview/support.jd
deleted file mode 100644
index 0d0d9db2f1c8f..0000000000000
--- a/docs/html/preview/support.jd
+++ /dev/null
@@ -1,1698 +0,0 @@
-page.title=Support and Release Notes
-meta.keywords="preview", "android"
-page.tags="preview", "developer preview"
-page.image=images/cards/card-n-support_2x.png
-
-@jd:body
-
-
-
-
-
-
In this document
-
-
-
-
-
-
-
-
-
- Two primary support channels are available to you when developing and testing
- with the Android N Developer Preview: Please file bugs at https://developer.android.com/preview/bug for
- device-specific, system, and Google App bugs. For issues in other apps,
- please contact the developer directly.
-
-
-
- To discuss issues or ideas with other developers working with Android N, join
- the Developer Preview Google+
- community.
-
-
-Developer Preview 5
-
-
-
-
- Date: July 2016
- Build: NPD90G
- Emulator support: x86 & ARM (32/64-bit)
- Google Play services: 8.4
-
-
-
-
-General advisories
-
-
- This Developer Preview release is for app developers and other early
- adopters and is available for daily use, development, or
- compatibility testing. Please be aware of these general notes about the
- release:
-
-
-
- - This release may have various stability issues on
- supported devices.
-
-
- - Some apps may not function as expected on the new
- platform version. This includes Google’s apps as well as other apps.
-
-
- - Developer Preview 5 is Compatibility Test Suite (CTS)
- approved on these devices: Nexus 5X, Nexus 6, Nexus 6P, Nexus 9,
- and Pixel C. Apps that depend on CTS approved builds should work normally
- on these devices (Android Pay for example).
-
-
- - Developer Preview 5 is available on Nexus 5X, Nexus 6, Nexus 6P,
- Nexus 9, Nexus Player, Pixel C, and General Mobile 4G (Android One).
-
-
-
-
-New in DP5
-
-Updated system images for supported devices and emulator
-
-
- Developer Preview 5 includes near-final system
- images for supported devices and the Android emulator. The
- images include the final APIs (API level 24) for the upcoming Android N
- platform. When you are done testing, you can publish apps using API
- level 24 to Google Play, in alpha, beta, and production release channels.
-
-
-
-
-
-Known Issues
-
-Stability
-
-
- - Users may encounter system instability (such as kernel panics and
- crashes).
-
-
-
-Multi-window
-
- - MapView may be blank when resized in multi-window mode and not focused.
-
-
-
-Do Not Disturb
-
- - Do Not Disturb mode may be set at device reboot. To work around
- the issue, delete the existing rule for VR as follows: go to
- Settings > Sound > Do not disturb > Automatic Rules
- and tap the trash icon next to the VR rule.
-
-
-
-Screen zoom and multiple APKs in Google Play
-
- - On devices running Developer Preview 5, Google Play services 9.0.83
- incorrectly reports the current screen density rather than the stable screen
- density. When screen zoom is enabled on these devices, this can cause Google
- Play to select a version of a multi-APK app that’s designed for smaller
- screens. This issue is fixed in the next version of Google Play services.
-
-
-
-Vulkan support and multiple APKs in Google Play
-
- - On devices running Developer Preview 5, Google Play services 9.0.83
- currently reports Vulkan support but not Vulkan version. This can cause
- Google Play to select a version of a multi-APK app that’s designed for lower
- Vulkan support on devices with higher version support. Currently, the Google
- Play Store does not accept uploads of Apps which use Vulkan version
- targeting. This support will be added to the Google Play Store in the
- future any Android N devices using the Google Play services 9.0.83 will
- continue to receive versions of Apps targeting basic Vulkan support.
-
-
-
-Android Auto
-
- - The version of Google Maps included in Developer Preview 5 (9.30)
- crashes when used with Android Auto. This issue will be fixed in the
- next update to Google Maps (9.31), expected in the coming weeks.
-
-
-
-
-
-
-
-
-Notes on publishing apps that target API 24
-
-
- Before publishing apps that target API 24 in Google Play, keep these points
- in mind:
-
-
-
- - If your app’s current
targetSdkVersion is 22 or lower and
- you want to target API 24, you’ll need to support behaviors
- introduced with Android 6.0 (Marshmallow), such as runtime permissions, in
- addition to Android N behaviors.
-
-
- - Once you publish an app with
targetSdkVersion set to 23 or
- higher, you can't later publish a version of the app with a higher
- versionCode that targets 22 or lower. This restriction applies
- in alpha and beta channels as well as production channel.
-
-
-
-
-
-
-Developer Preview 4
-
-
-
-
-
- Date: June 2016
- Build: NPD56N
- Emulator support: x86 & ARM (32/64-bit)
- Google Play services: 8.4
-
-
-
-
-
-General advisories
-
-
- This Developer Preview release is for app developers and other early
- adopters and is available for daily use, development, or
- compatibility testing. Please be aware of these general notes about the
- release:
-
-
-
- - This release may have various stability issues on
- supported devices.
-
-
- - Some apps may not function as expected on the new
- platform version. This includes Google’s apps as well as other apps.
-
-
- - Developer Preview 4 is Compatibility Test Suite (CTS)
- approved on these devices: Nexus 5X, Nexus 6, Nexus 6P, and
- Pixel C. Apps that depend on CTS approved builds should work normally
- on these devices (Android Pay for example).
-
-
- - Developer Preview 4 is available on all supported
- devices: Nexus 5X, Nexus 6, Nexus 6P, Nexus 9, Nexus Player,
- Pixel C, General Mobile 4G (Android One), as well as Sony Xperia Z3
- (D6603 and D6653 models).
-
-
-
-
-New in DP4
-
-Android N final APIs
-
-
- Developer Preview 4 includes the final APIs for the upcoming
- Android N platform. The new API level is 24.
-
-
-Play publishing
-
-
- You can now publish apps that use API level 24 to Google
- Play, in alpha, beta, and production release channels.
-
-
-Android Studio and tools updates
-
-
- Along with Developer Preview 4 we’re providing the final API 24
- SDK to be used with Android Studio 2.1.2 and higher. In addition,
- we’re releasing updated Developer Preview 4 system images for the emulator to
- help test your apps.
-
-
-
- As new updates roll out for Android Studio, you should see minor improvements in
- the new project wizards and AVD manager as we add enhanced support for API 24.
- These are primarily cosmetic changes and should not stop you from getting
- your app ready for an update in the Play store.
-
-
-Feature and API changes
-
-
- - In previous versions of Android, an app activates with all of its locale
- resources loaded before locale negotiation begins. Starting in Android N DP4,
- the system negotiates resource locales individually for each resource object
- before the app activates.
-
-
- - As announced at Developer Preview 3, we’ve deferred the Launcher
- Shortcuts feature to a later release of Android. In Developer Preview 4,
- we’ve removed the Launcher Shortcuts APIs.
-
-
- - We’ve changed the BLE Scanning behavior starting in DP4. We’ll prevent
- applications from starting and stopping scans more than 5 times in 30
- seconds. For long running scans, we’ll convert them into opportunistic scans.
-
-
- - The Multi-Window
-
android:minimalHeight and android:minimalWidth
- attributes have been renamed to android:minHeight and
- android:minWidth.
-
-
-
-Known Issues
-
-Stability
-
-
- - Users may encounter system instability (such as kernel panics and
- crashes).
-
-
-
-Launcher
-
-
- - The default launcher’s All Apps tray may become
- unresponsive after cycling the screen off and on. Returning to the
- homescreen and relaunching the All Apps tray may resolve
- this issue.
-
-
-
-Setup Wizard
-
-
- - Crash on selecting "Not now" in "Set up email" screen.
-
-
-
-Media
-
-
- - Media playback may be unreliable on Nexus 9 and Nexus Player, including
- issues playing HD video.
-
-
- - Occasional freeze when running the YouTube app with other apps in
- multi-window mode on Pixel C devices. In some cases hard reboot is required.
-
-
- - Apps may have issues playing some Widevine DRM-protected content on Nexus
- 9 devices.
-
-
- - Issues handling VP8 video on Nexus 9 devices.
-
-
-
-External storage
-
-
- - Apps may become unstable when the user moves them from internal storage
- to adoptable external storage (this can include SD card or devices attached
- over USB).
-
-
-
-Screen zoom and multiple APKs in Google Play
-
-
- - On devices running Android N, Google Play services 9.0.83 incorrectly
- reports the current screen density rather than the stable screen density.
- When screen zoom is enabled on these devices, this can cause Google Play to
- select a version of a multi-APK app that’s designed for smaller screens. This
- issue is fixed in the next version of Google Play services and will be
- included in a later Developer Preview release.
-
-
-
-Vulkan support and multiple APKs in Google Play
-
-
- - On devices running Android N, Google Play services 9.0.83 currently
- reports Vulkan support but not Vulkan version. This can cause Google Play to
- select a version of a multi-APK app that’s designed for lower Vulkan support
- on devices with higher version support. Currently, the Google Play Store does
- not accept uploads of apps which use Vulkan version targeting. This support
- will be added to the Google Play Store in the future and fixed in the next
- version of Google Play services (to be included in a later Developer Preview
- release). Any N devices using the version of Google Play services 9.0.83 will
- continue to receive versions of apps targeting basic Vulkan support.
-
-
-
-Accessibility
-
- - Switch access doesn't allow user to navigate web pages in Chrome.
-
-
- - Accessibility issues for talkback users with notification dismissal, and
- wifi selection screen.
-
-
-
-Android for Work
-
-
- - Currently, CA certificates provisioned through {@link
- android.app.admin.DevicePolicyManager} are not
- available to profiles other than the primary user/profile due to a preload
- issue. For example, this could prevent a user from connecting to a trusted
- server when in a Work profile. This issue will be resolved in the next
- Developer Preview.
-
-
- - After reboot with work mode off, solving work challenge does not switch
- on work mode.
-
-
- - Users receiving a video call in Hangouts have to unlock work challenge
- first.
-
-
- - Accessing Settings > Security > Device Security crash observed when
- separating primary and work challenge.
-
-
- - If {@link android.os.UserManager#DISALLOW_CONFIG_VPN} is set before
- calling {@link android.app.admin.DevicePolicyManager#setAlwaysOnVpnPackage
- DevicePolicyManager.setAlwaysOnVpnPackage()}, then setting always on VPN does
- not work. That is, after rebooting the device with the {@link
- android.os.UserManager#DISALLOW_CONFIG_VPN} restriction set, VPN is not
- autostarted.
-
-
-
-Android Auto
-
-
- The version of Google Maps included in Developer Preview 4 (9.30) crashes
- when used with Android Auto. This issue will be fixed in the next update to
- Google Maps (9.31), expected in the coming weeks.
-
-
-
-
-
-
-Fixes for issues reported by developers
-
-
- A number of issues reported by developers have been fixed, including:
-
-
-
- - The active network state ({@link android.net.NetworkInfo#getState
- NetworkInfo.getState()} and {@link android.net.NetworkInfo#getDetailedState
- NetworkInfo.getDetailedState()}) might return incorrect values during some
- restricted background scenarios
-
-
- - Data Saver restricts the foreground MMS mobile network request
- (bug
- 208478)
-
-
- - Quick settings tiles and notifications sometimes unresponsive
-
-
- - Unable to dismiss Clock notifications
-
-
- - Duplication of bluetooth icon and other status icons
-
-
- - Additional bluetooth connectivity fixes
-
-
-
-
-For the full list of fixed issues, see the
-issue tracker.
-
-Notes on publishing apps that target API 24
-
-
- Before publishing apps that target API 24 in Google Play, keep these points
- in mind:
-
-
-
- - If your app’s current
targetSdkVersion is 22 or lower and
- you want to target API 24, you’ll need to support behaviors
- introduced with Android 6.0 (Marshmallow), such as runtime permissions, in
- addition to Android N behaviors.
-
-
- - Once you publish an app with
targetSdkVersion set to 23 or
- higher, you can't later publish a version of the app with a higher
- versionCode that targets 22 or lower. This restriction applies
- in alpha and beta channels as well as production channel.
-
-
-
-
-
-Developer Preview 3
-
-
-
-
-
- Date: May 2016
- Build: NPD35K
- Emulator support: x86 & ARM (32/64-bit)
- Google Play services: 8.4
-
-
-
-
-
-General advisories
-
-
- This Developer Preview release is for app developers and other early
- adopters and is available for daily use, development, or
- compatibility testing. Please be aware of these general notes about the
- release:
-
-
-
- - This release may have various stability issues on
- supported devices. Users may encounter system instability, such as kernel
- panics and crashes.
-
-
- - Some apps may not function as expected on the new
- platform version. This includes Google’s apps as well as other apps.
-
-
- - Developer Preview 3 is Compatibility Test Suite (CTS)
- approved on these devices: Nexus 5X, Nexus 6, Nexus 6P, and Pixel
- C. Apps that depend on CTS approved builds should
- work normally on these devices (Android Pay for example).
-
-
- - Developer Preview 3 is available on all supported
- devices: Nexus 5X, Nexus 6, Nexus 6P, Nexus 9, Nexus Player, Pixel
- C, General Mobile 4G (Android One), as well as Sony Xperia Z3 (D6603 and
- D6653 models).
-
-
-
-
-
-New in DP3
-
-VR Mode for Android
-
-
- Android N adds platform support and optimizations for a new VR Mode to let
- developers build high quality mobile VR experiences for users. There are a
- number of performance enhancements, including access to an exclusive CPU core
- for VR apps. Within your apps, you can take advantage of intelligent
- head-tracking, and stereo notifications that work for VR. Most importantly,
- Android N provides for very low latency graphics.
-
-
-
- For more information, see the Google VR SDK for Android.
-
-
-Sustained performance mode
-
-
- Android N includes optional support for sustained
- performance mode, enabling OEMs to provide hints on device performance
- capabilities for long running applications. App developers can then use these
- hints to tune applications for a predictable, consistent level of device
- performance over long periods of time. App developers can try out this new
- API in the developer preview on Nexus 6P devices only.
-
-
-Multiprocess WebView
-
-
- Starting with version 51 in Android N, WebView will run web content in a
- separate sandboxed process when the developer option "Multiprocess WebView"
- is enabled. The WebView team is looking for feedback on compatibility and
- runtime performance in N before enabling multiprocess WebView in a future
- version of Android. In this version, regressions in startup time, total
- memory usage and software rendering performance are expected.
-
-
-
- If you find unexpected issues in multiprocess mode we’d like to hear about
- them. Please get in touch with the WebView team by
- filing a bug.
-
-
-Keyboard Shortcuts helper
-
-
- Android N lets users press Meta+/ to trigger a Keyboard
- Shortcuts screen that displays all shortcuts available both from the
- system and from the app in focus. Developers can add their own shortcuts or
- trigger the Shortcuts screen from their apps. See Keyboard
- Shortcuts helper for details.
-
-
-FrameMetrics API
-
-
- DP3 introduces a new FrameMetrics API
- that allows an app to monitor its UI rendering performance by exposing a
- streaming pubsub API to transfer frame timing info for the application’s
- current window. FrameMetricsListener can be used to measure
- interaction-level UI performance in production with higher granularity and
- without the need for a USB connection.
-
-
-Feature and API changes
-
-
- -
- Launcher Shortcuts and the Launcher Shortcuts API
-
-
- -
- We’ve decided to defer this feature to a future release of Android. We plan
- to remove the Launcher Shortcuts APIs (ShortcutManager and others) from the
- public Android N API starting in the next developer preview.
-
-
- -
- WebView Javascript run before page load
-
-
- -
- Starting with apps targeting Android N, the Javascript context is reset
- when a new page is loaded. Currently, the context is carried over for the
- first page loaded in a new {@link android.webkit.WebView} instance.
- Developers looking to inject Javascript into the {@link
- android.webkit.WebView} should execute the script after the page has
- started to load.
-
-
- -
- WebView Geolocation on insecure origins
-
-
- -
- Starting with apps targeting Android N, the geolocation API will only be
- allowed on secure origins (over HTTPS.) This policy is designed to protect
- users' private information when they're using an insecure connection.
-
-
- -
- Data Saver
-
-
- -
- Starting in Developer Preview 3, apps can use use an intent to display a
- system dialog that lets the user directly add the app to the Data Saver
- exemption whitelist. See the Data Saver
- documentation for details.
-
-
- -
- Number-blocking
-
-
- -
- If an unauthorized user attempts to block or unblock a number, the
- operation now fails with {@link java.lang.SecurityException}. (Previously,
- the operation threw {@link java.lang.UnsupportedOperationException}.)
-
-
- -
- Quick Settings Tile
- API
-
-
- -
- The system now uses the activity's metadata to decide on the tile mode.
- (Previously, tile mode was determined by the return value of
-
TileService.onTileAdded().) For more information, see
- TileService.META_DATA_ACTIVE_TILE in the downloadable API Reference.
-
-
-
-Fixes for issues reported by developers
-
-
- A number of issues reported by developers have been fixed, including:
-
-
-
- - Bluetooth Audio playback interrupted after 1 song (bug 206889)
-
-
- - Pixel C Consistently Crashes (bug 206962)
-
-
- - Clock and Toast notification issues (bug 203094)
-
-
- - Pixel C reboots when connected to MacBook Pro via USB C Cable (bug
- 205432)
-
-
- - Calandar offset by one day (bug 203002)
-
-
- - TelephonyManager.getAllCellInfo returning invalid data (bug 203022)
-
-
- - Nexus 6p, Bluetooth keeps disconnecting (bug 208062)
-
-
-
-For the full list of fixed issues, see the
-issue tracker.
-
-Known Issues
-
-Accessibility
-
-
- - Unable to listen to TTS output when pitch is set near maximum level.
-
-
- - Accessibility features and settings may be disrupted with the user adds a
- Work profile, including magnification gesture and setting. Accessibility
- state is restored when the user next touches the associated settings.
-
-
-
-Camera
-
-
- - The Camera app has exhibited instability; it may crash in various
- circumstances, such as when launched in multi-window mode.
-
-
- - Pressing the shutter continuously in panorama mode may cause the Camera
- app to crash.
-
-
-
-Audio
-
- - A platform audio player issue prevents some apps from functioning
- normally. For example, Skype and other apps are affected by this issue.
-
-
-
-Connectivity
-
-
-
- - When a Bluetooth Low Energy (BLE) peripheral role device advertises a
- service and a BLE central role device connects, the peripheral role device
- disconnects very quickly.
-
-
- - Wi-Fi connection may be dropped when the screen is off.
-
-
- - RFCOMM connections are unstable and may result in data corruption and
- dangling connections.
-
-
- - The active network state ({@link android.net.NetworkInfo#getState
- NetworkInfo.getState()} and {@link android.net.NetworkInfo#getDetailedState
- NetworkInfo.getDetailedState()}) might return incorrect values during some
- restricted background scenarios.
-
-
-
-
-
- Launcher
-
-
-
- - The default launcher’s All Apps tray may become unresponsive after
- cycling screen off / screen on. Returning to the homescreen and relaunching
- the All Apps tray may resolve this issue.
-
-
-
-
- Keyboard
-
-
-
- - When updating a device running Android 6.0 or earlier to the N Developer
- Preview, Google Keyboard does not preserve preferences data such as recent
- emoji and sound settings.
-
-
- - Google Indic Managed Keyboard may be unstable.
-
-
- - When entering text in a password field, the user can select Russian as
- the input language but the keyboard remains in English. This prevents the
- user from entering Russian-language passwords.
-
-
-
-
- Locale and languages
-
-
-
- - When using a right-to-left (RTL) locale, the system may unexpectedly
- switch to left-to-right (LTR) presentation after restarting the device.
-
-
-
-Media
-
-
- - Media playback be be unreliable on Nexus 9 and Nexus Player, including
- issues playing HD video.
-
-
-
-
- Multi-window mode
-
-
-
- - Device may freeze when changing orientation in multi-window mode.
-
-
- - Several apps currently have issues with multi-window mode:
-
- - The system UI may crash when docking Settings > Display >
- Screen brightness to multi-window.
-
-
- - The Camera app may crash when launched in multi-window mode.
-
-
- - YouTube may crash when launched into multi-window mode. To fix the
- issue, you can clear the YouTube app’s data at Storage > Apps >
- YouTube.
-
-
-
-
-
-
- Google Play services
-
-
-
- - Apps using Google Cast through Google Play services may be unstable when
- the user selects a system locale that uses letters and numbers outside of the
- ASCII range.
-
-
-
-
- Android for Work and Google Apps Device Policy
-
-
-
- - The Device Policy app may crash when the user unlocks the device with the
- "device policy status" screen pinned.
-
-
- - After setting up a work profile with file-based encryption enabled and
- then turning off Work, users must unlock primary profile screen lock to once
- again access Work apps.
-
-
- - Device reboots when removing the security pattern lock and opening work
- app/personal app in the multi-window.
-
-
- - Setting DISALLOW_VPN_CONFIG is causing the consent dialog to appear in
- always-on-vpn set by Device Policy Client.
-
-
- - Traffic is not locked down until VPN is connected in always-on-vpn mode.
-
-
-
-
- External storage
-
-
-
- - Apps may become unstable when the user moves them from internal storage
- to adoptable external storage (this can include SD card or devices attached
- over USB).
-
-
-
-
- Screen zoom and multiple APKs in Google Play
-
-
-
- - On devices running Android N, Google Play services 9.0.83 incorrectly reports
- the current screen density rather than the stable screen density. When screen
- zoom is enabled on these devices, this can cause Google Play to select a
- version of a multi-APK app that’s designed for smaller screens. This issue is
- fixed in the next version of Google Play services and will be included in a
- later Developer Preview release.
-
-
- - On devices running Android N, Google Play services 9.0.83 currently reports
- Vulkan support but not Vulkan version. This can cause Google Play to select a
- version of a multi-APK app that’s designed for lower Vulkan support on
- devices with higher version support. Currently, the Google Play Store does
- not accept uploads of Apps which use Vulkan version targeting. This support
- will be added to the Google Play Store in the future and fixed in the next
- version of Google Play services (to be included in a later Developer Preview
- release) any N devices using the version of Google Play services 9.0.83 will
- continue to receive versions of Apps targeting basic Vulkan support.
-
-
-
-Notifications
-
-
- - MessagingStyle does not show notifications with "null" (self) sender.
-
-
-
-Developer Tools
-
-
- -
-
adb may sometimes disconnect while using JDWP debugging.
-
-
-
-
-
-
-Developer Preview 2
-
-
-
-
-
- Date: April 2016
- Builds: NPC91K, NPC91O
- Emulator support: x86 & ARM (32/64-bit)
- Google Play services: 8.4
-
-
-
-
-
-New in DP2
-
-
- - Platform support for Vulkan, a new 3D rendering API that provides
- explicit, low-overhead GPU (Graphics Processor Unit) control and offers
- improved performance for draw-call heavy applications. For details, see the
- documentation.
-
-
- - New people emoji with support for skin tones, and new Unicode 9 glyphs.
- Skin tone and new emoji will not show up until keyboards build support for
- them in the palette. Apps should not need to take any action to take
- advantage of these new emoji, unless the apps use a non-system font. IME
- developers need to incorporate support for the new emoji.
-
-
- -
- Launcher
- Shortcuts API: Apps can use
ShortcutManager to send
- shortcuts to starting points within themselves to the launcher.
-
-
- -
- Multi-Window:
- You can now specify a separate minimum height and minimum width for an
- activity. In addition, several API names have been slightly changed.
-
-
-
-Fixes for issues reported by developers
-
-
- A number of issues reported by developers have been fixed, including:
-
-
-
- - Can’t connect to hidden SSID or non-broadcast Wi-Fi. (bug 203116)
-
-
- - Microphone mute state persists across activities. (bug 205922)
-
-
- - Changing multi-window focus pauses YouTube. (bug 203424)
-
-
- - Direct Reply may close open activity. (bug 204411)
-
-
- - Various stability fixes.
-
-
-
-General advisories
-
-
- This Developer Preview release is for app developers only
- and is designed for use in compatibility testing and early development only.
- Please be aware of these general notes about the release:
-
-
-
-
- - The development tool components and support libraries have been updated
- for the DP2 release. Make sure to update your preview development environment
- before developing for DP2. For instructions on setting up your development
- environment, see
- Set Up the Preview.
-
-
- - This release has various stability and performance issues on all devices
- that make it not suitable for daily use on phone or tablet,
- especially for non-developers.
-
-
- - Battery life and performance have not yet been optimized with this
- release:
-
-
- - System and app performance is known to be periodically slow /
- janky, and devices may become occasionally unresponsive. These
- problems may become more acute with prolonged use.
-
-
- - Battery life may be regressed in this release for screen-on and
- screen-off use cases.
-
-
-
-
- - Some apps may not function normally on Developer Preview
- 2. This includes Google’s apps as well as other apps.
-
-
- - This early build is not Compatibility Test Suite (CTS)
- approved. Apps that depend on CTS approved builds won’t work
- (Android Pay for example).
-
-
- - This preview release supports the following devices: Nexus 5X, Nexus 6,
- Nexus 6P, Nexus 9, and Pixel C, as well as General Mobile 4G
- (Android One). Support for Nexus Player is coming soon.
-
-
-
- - TestDPC has
- been updated to handle API changes between DP1 and DP2.
-
-
-
-Known Issues
-
-Performance and battery
-
-
- - System and app performance is known to be periodically slow /
- janky, and device may become occasionally unresponsive. These
- problems may become more acute with prolonged use.
-
-
-
-Google accounts
-
-
- - In some circumstances, there can be issues with
-
AccountManagerService that prevent logging in to Google accounts
-
-
-
-System update
-
-
- - Device may restart immediately after updating to DP2.
-
-
-
-Accessibility
-
-
- - Problem with listening to text-to-speech (TTS) output when pitch is set
- near maximum level.
-
-
-
-Bluetooth
-
-
- - Bluetooth Low Energy (LE) GATT characteristics are using the wrong write
- type and will not be sent to a remote device. Thus, for example, some fitness
- devices will not work.
-
-
-
-Setup wizard
-
-
- - The option to restore data on a new device (or newly reset device) from
- "Your Google Account" is not actionable in the setup wizard. You must restore
- data from an existing device by selecting "another Android device" in the
- setup wizard, or else set it up as a new device.
-
-
-
-OEM unlock
-
-
- - On some devices, Enable OEM unlock is grayed out in
- "Developer Options" while running DP2.
- Workaround: Opt in to
- the Android Beta Program (if you are not already opted in) by visiting
- www.google.com/android/beta. Then, opt out and accept the
- downgrade OTA. Opting out causes the device to downgrade to Android 6.0. You
- should now be able to choose Enable OEM unlock in
- "Developer Options". Personal data is erased when you downgrade the
- device; however, unlocking the bootloader would have erased this data anyway.
-
-
-
-Android for Work
-
-
- - Work Security Challenge
-
- - After migration to N, or after the user creates work profiles, work
- profiles can't create keys in the keystore until the user changes their
- pattern, PIN, or password, or sets up a Work Challenge.
-
-
- - In Direct boot mode, applying the passcode restrictions to the device
- causes the work profile to be unlocked, even though the device is locked.
- This makes the work profile accessible even though it should be protected
- by the device lock screen.
-
-
-
-
- - Always On VPN
-
- - If Always On VPN mode is turned on, but VPN is not available, apps
- connect over the ordinary network. Apps should be offline if they have no
- VPN connection available.
-
-
- - When Always On mode is on, a VPN connection is not established after
- a device reboots into Direct boot mode, even after the user unlocks the
- secure lock screen.
-
-
-
-
- - Suspend Packages
-
- - Device admins can suspend critical system packages, which may lead to
- unexpected behavior, such as placing calls despite the "Telephone
- disabled" dialog being displayed.
-
-
-
-
- - Other
-
- - The Settings app crashes on launch if {@link
- android.os.UserManager#DISALLOW_MOUNT_PHYSICAL_MEDIA} is set to true when
- the user inserts physical media such as an SD card.
-
-
- - The first check-in in a Work Profile takes several minutes to
- complete.
-
-
-
-
-
-Vulkan
-
-
- - Nexus 5X/6P
-
- - Gaps between binding numbers and non-zero
- as the first binding number causes {@code vkCreateGraphicsPipeline()} to fail.
- - Vulkan exhibits incorrect sampling behavior on projected texture coordinates.
- - in the multithreadCmdBuffer sample, {@code vkCmdClearColorImage()} crashes when
- running with the N-DP2 driver.
- - Return values from {@code vkGetPhysicalDeviceFormatProperties()} do not set a value
- for {@code VkFormatProperties::linearTilingFeatures}, which takes a value of 0 as
- a result.
- - Vulkan floating point frame buffer attachments are not handled correctly.
-
- - Nexus Player
-
- - SPIR-V shaders may trigger driver asserts.
- - Some pipeline configurations may cause {@code vkCreateGraphicsPipeline()}
- to crash.
-
-
-
-Device-specific issues
-
-
- -
- Android One
-
-
- -
- Data connection fails when device is switched from slot 1 to slot 2 SIM.
-
-
- -
- Pixel C
-
-
- -
- Unable to toggle Voice Search "Always On" option.
-
-
- -
- Nexus 6
-
-
- -
- Camera pictures in portrait orientation are corrupted, except for HDR+
- photos.
-
-
- -
- Nexus Player
-
-
- -
- Playback of Netflix HD content may fail on Nexus Player.
-
-
- -
- Any application that relies on dynamic video resolution changes may fail on
- Nexus Player.
-
-
- -
- Any application that use the VP9 video codec may fail on Nexus Player.
-
-
-
-
-
-Developer Preview 1
-
-
-
-
-
- Date: March 2016
- Builds: NPC56P, NPC56R, updated: NPC56W, NPC56X
- Emulator support: x86 & ARM (32/64-bit)
- Google Play services: 8.4
-
-
-
-
-
-General advisories
-
-
- This Developer Preview release is for app developers only and is designed for
- use in compatibility testing and early development only. Please be aware of
- these general notes about the release:
-
-
- - This release has various stability and performance issues on all devices
- that make it not suitable for daily use on phone or tablet,
- especially for non-developers.
-
-
- - System and app performance is known to be periodically slow /
- janky, and device may become occasionally unresponsive. These
- problems may become more acute with prolonged use.
-
-
- - Battery life may be regressed in this release for screen-on and
- screen-off use cases.
-
-
- - Some apps may not function normally on Developer Preview 1. This includes
- Google’s apps as well as other apps.
-
-
- - This early build is not Compatibility Test Suite (CTS) approved. Apps
- that depend on CTS approved builds (Android Pay for example) won’t work.
-
-
- - This preview release supports the following devices: Nexus 5X, Nexus 6,
- Nexus 6P, Nexus 9, Nexus Player, and Pixel C, as well as General Mobile 4G
- (Android One).
-
-
-
-
-
-Performance and battery
-
-
- - System and app performance is known to be periodically slow /
- janky, and device may become occasionally unresponsive. These
- problems may become more acute with prolonged use.
-
-
- - Battery life may be regressed in this release for screen-on and
- screen-off use cases.
-
-
-Dialer
-
-
- - Dialer app does not support Direct boot. This will be addressed later in
- N Developer Preview.
-
-
- - Voicemail playback does not work.
-
-
-
-Microphone
-
-
- - The system may incorrect persists the microphone mute state across apps and reboots. If you mute the microphone in an app and the state is persisted, open any app that has microphone mute controls and unmute the microphone.
-
-
-System UI
-
-
- - Some new or modified strings in the system UI are not translated to all
- languages.
-
-
- - Overview UI is still in development, and subject to change. For example,
- we intend to remove the timer that appears when the user switches between
- apps.
-
-
- - Settings controls and toggles may be slow or appear to be unresponsive.
-
-
- - Visual design of notifications is subject to change.
-
-
- - In the Gmail app, direct archiving of emails included in a notification
- bundle does not work properly.
-
-
-
-Android for Work
-
-
- - Work Security Challenge
-
- - After migration to N, or after the user creates work profiles, work
- profiles can't create keys in the keystore until the user changes their
- pattern, PIN, or password, or sets up a Work Challenge.
-
-
- - In Direct boot mode, applying the passcode restrictions to the device
- causes the work profile to be unlocked, even though the device is locked.
- This makes the work profile accessible even though it should be protected
- by the device lock screen.
-
-
- - When the user enters a wrong password and pin, the system does not
- display any informational message; instead, it only clears the input
- field. This issue does not affect pattern or fingerprint input.
-
-
- - On a tablet, the background displayed with the work challenge is
- disproportionately small.
-
-
- - The version of
- Google Apps Device Policy that is bundled with N Developer Preview
- does not yet support the Work Profile Security Challenge feature.
- Developers should instead use TestDPC
- to test this feature.
-
-
-
-
- - Always On VPN
-
- - If Always On VPN mode is turned on, but VPN is not available, apps
- not specified as exceptions to the Always On policy connect over the
- ordinary network. Unless specified as exceptions to Always On VPN policy,
- apps should be offline if they have no VPN connection available.
-
- - When Always On mode is on, a VPN connection is not established
- after a device reboots into Direct boot mode, even after the user
- unlocks the secure lock screen.
-
-
-
-
-
-
- - Improved Contacts
-
- - Bluetooth PBAP/MAP devices do not display Caller ID for work
- contacts. The next release of Preview resolves this issue.
-
-
-
-
- - Work Mode
-
- - The Google Now Launcher does not display whether Work Mode is on or
- off. The Launcher also does not show app suspension state.
-
-
- - After the user turns Work Mode off and on, the system no longer shows
- Work profile app widgets, such as Calendar.
-
-
-
-
- - Suspend Packages
-
-
- - Device admins can suspend critical system packages, which may lead to
- unexpected behavior, such as placing calls despite the Telephone disabled
- dialog’s being displayed.
-
-
- - Other
-
- - The Settings app crashes on launch if {@link
- android.os.UserManager#DISALLOW_MOUNT_PHYSICAL_MEDIA} is set to true when
- the user inserts physical media such as an SD card.
-
-
- - The {@code DPM.setPackagesSuspended} state does not persist when the
- user uninstalls and then reinstalls an app. Either the app should remain
- suspended after uninstall/reinstall, or suspended apps should not be
- uninstallable
-
-
- - The first check-in in a Work Profile takes several minutes to
- complete. This may cause the device to take longer than normal to be
- visible in the Play EMM API.
-
-
- - Notifications from Work Profile apps are not visible to notification
- listeners installed in the personal profile. As a result, the system does
- not display Notifications as expected.
-
-
-
-
-
-
-Keyboard
-
-
- - Bluetooth pairing between keyboards and Android devices may be unstable.
-
-
-
-Video
-
-
-- Video playback may lag and show interruptions.
-
-
-Wi-Fi
-
-
- - Wi-Fi has undergone some refactoring which may change API corner case
- behavior. Specifically, applications which attempt to connect to specific
- networks, or attempt to reconnect to networks should retest.
-
-
- - The legacy DHCP client has been removed from the platform. The only DHCP
- client that the platform supports is the DHCP client introduced in M.
-
-
-
-Direct boot
-
-
- - NFC doesn't function until first unlock.
-
- - When a phone with Bluetooth enabled is restarted, Bluetooth does not
- turn on automatically. You must manually re-enable Bluetooth.
-
-
- - Under some circumstances, the default ringtone may not sound for
- phone calls and messages. This behavior is fixed in the next N Preview
- release, with one exception (and workaround):
-
-
- - On a device that is not freshly wiped--one that has been booted at
- least once since being set to direct boot mode--the default notification
- ringtone does not sound. The user can work around this issue by manually
- selecting a ringtone from Settings.
-
-
- - Direct boot is not enabled by default on devices running an N
- Developer Preview build. To enable direct boot for testing and
- development, go to Developer Options and tap Convert to File Encryption.
- In this dev preview, this requires a factory reset to repartition and
- reformat your device for File-based Encryption.
-
-
-
-
-
-Picture-in-picture for Android TV
-
-
- - The PIP integration in the Recents UI is not finalized, and is subject to
- change.
-
- - The animation of the PIP window is not smooth. Future releases of the
- Preview will improve this.
-
-
-
-
- - Future releases of the Preview will improve upon
- the visual design and layout alignment of PIP.
-
-
-
-Bug reports
-
-
- - Bug reports do not always complete successfully (as a workaround,
- sometimes they can still be accessed through the bug report document provider
- in internal storage).
-
-
-
-Split-screen Multi-window
-
-
- - Apps may experience crashes and unexpected UI behavior when put into
- split-screen mode. These are app issues that must be fixed by the app
- developer.
-
-
- - When an app targets a version of the Android platform earlier than N, the
- App may not work with split-screen toast may appear multiple times.
-
-
- - Long-pressing the Overview button while using an app with a fixed
- orientation may produce unexpected app behavior.
-
-
- - Apps may flicker while resizing.
-
-
- - Animations are not yet final.
-
-
-
-Input method
-
-
-
-Accessibility
-
-
- - TalkBack exhibits issues with features including Notifications, Quick
- Settings Tiles and Multi-window display that may cause system crashing or
- lack of spoken feedback from TalkBack. Future releases of the preview will
- address these issues.
-
-
-
-Device-Specific Notes and Issues
-
-Nexus Player
-
- - Video playback, app compatibility and stability issues are expected on
- Nexus Player in this release of the Preview.
-
-
-
-Pixel C
-
-- Multi-window resizing may cause crashing.
-
-
-Nexus 9
-
-- Nexus 9 devices may not start after receiving an over-the-air (OTA) update
- via the Android Beta Program. To recover from this issue, you can try
- to manually install the OTA image. For more information, see
- Applying a Device OTA Image.
-
-
-
diff --git a/docs/html/topic/performance/_book.yaml b/docs/html/topic/performance/_book.yaml
index 94cfc576aad53..e053a2c1bdfe4 100644
--- a/docs/html/topic/performance/_book.yaml
+++ b/docs/html/topic/performance/_book.yaml
@@ -26,6 +26,8 @@ toc:
path: /topic/performance/threads.html
- title: Optimizing View Hierarchies
path: /topic/performance/optimizing-view-hierarchies.html
+- title: Background Optimization
+ path: /topic/performance/background-optimization.html
- title: Intelligent Job-Scheduling
path: /topic/performance/scheduling.html
- title: Reducing APK Size
diff --git a/docs/html/preview/features/background-optimization.jd b/docs/html/topic/performance/background-optimization.jd
similarity index 98%
rename from docs/html/preview/features/background-optimization.jd
rename to docs/html/topic/performance/background-optimization.jd
index 326513b10aed0..3e4c041367a09 100644
--- a/docs/html/preview/features/background-optimization.jd
+++ b/docs/html/topic/performance/background-optimization.jd
@@ -379,7 +379,7 @@ public boolean onStartJob(JobParameters params) {