From 58d5504241059203727e33847f4d41cc840849bd Mon Sep 17 00:00:00 2001 From: Andrew Solovay Date: Mon, 16 May 2016 15:11:37 -0700 Subject: [PATCH] docs: Updating N release notes for DP3 This should be the final version for the released-during-IO-keynote release notes, though we can certainly do a follow-on update if more info comes in. See first comment for doc stage location. bug: 28591801 Change-Id: I3ab208499e4e567c34ef0bdf27952e874d2da112 --- docs/html/preview/support.jd | 476 ++++++++++++++++++++++++++++++++--- 1 file changed, 445 insertions(+), 31 deletions(-) diff --git a/docs/html/preview/support.jd b/docs/html/preview/support.jd index 83ecde2372a5d..84e118dfe5623 100644 --- a/docs/html/preview/support.jd +++ b/docs/html/preview/support.jd @@ -5,6 +5,34 @@ page.image=images/cards/card-n-support_2x.png @jd:body + +
+ +
+

Two primary support channels are available to you when developing and testing with the Android N Developer Preview: Please file bugs at

- Date: April 2016
- Builds: TODO
+ Date: May 2016
+ Builds: NPD35K
Emulator support: x86 & ARM (32/64-bit)
- Google Play services: TODO
+ 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: +

+ +
+ +

New in DP3

+

VR Mode for Android

-

API changes

+

+ 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

-
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}.)
+
+ Launcher Shortcuts and the Launcher Shortcuts API +
-
Quick - Settings Tile API
-
The system now uses the activity's metadata to decide on the tile mode. +
+ 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. + TileService.META_DATA_ACTIVE_TILE in the downloadable API Reference.
-

Fixes for issues reported by developers

+

Fixes for issues reported by developers

A number of issues reported by developers have been fixed, including:

-

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: -

- - +

For the full list of fixed issues, see the +issue tracker.

Known Issues

-

TODO

+

Accessibility

+ + +

Camera

+ + + +

Audio

+ + +

Connectivity

+ + + + + +

+ Launcher +

+ + + +

+ Keyboard +

+ + + +

+ Locale and languages +

+ + + +

Media

+ + + +

+ Multi-window mode +

+ + + +

+ Google Play services +

+ + + +

+ Work and enterprise +

+ + + +

+ External storage +

+ + + +

+ Screen zoom and multiple APKs in Google Play +

+ + + +

Notifications

+ + + + +

Developer Preview 2