Android N Developer Preview 4 has been released, factory images can be found right here, with the full image OTA files here. The new build number is NPD56N. All the same devices that have been supported in the N Preview to date have factory images up now (along with the Sony Xperia Z3). You can check out Google's summary of what's new here. There's also an official blog post here.
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.
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:minimalWidthattributes have been renamed to
- Users may encounter system instability (such as kernel panics and crashes).
- The default launcher’s All Apps tray may become unresponsive after cycling the screen off and on. Returning to the homescreen and relaunching theAll Apps tray may resolve this issue.
- Crash on selecting "Not now" in "Set up email" screen.
- 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.
- 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.
- 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
DevicePolicyManagerare 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.
Fixes for issues reported by developers
A number of issues reported by developers have been fixed, including:
- The active network state (
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
We also know that a bug with direct reply notifications not working properly in full-screen apps appears to be fixed. If you don't want to flash the new build, you can always just wait for the OTA to hit your Nexus device. If you want to jump in the dev preview bandwagon but haven't enrolled in the beta program yet, just head to this site.
- Android Developers