File URI exposure is forbidden
Sharing a file:// URI in an intent throws FileUriExposedException.
What to doUse FileProvider and a content:// URI.
Multi-window
Android had a fragmentation and update-speed problem that Google had been losing for years.
Every OS update had to pass through the SoC vendor, the OEM and often the carrier. Devices waited a year or never got updates.
Nougat added multi-window, direct reply, Vulkan, seamless A/B updates and a hybrid JIT/AOT runtime. It also laid the groundwork for Project Treble.
Seamless updates arrived, and the ground was prepared for Treble.
What changed underneath the APIs. These are the changes this site's architecture modules explain in depth.
The full archive has every recorded change with its migration advice.
Sharing a file:// URI in an intent throws FileUriExposedException.
What to doUse FileProvider and a content:// URI.
Apps must handle being resizeable and can be in split-screen.
What to doMake layouts adaptive and handle configuration changes without losing state.
Notifications can carry a reply action and be grouped.
What to doUse the messaging style and add reply actions.
Doze restrictions also apply when the device is moving.
What to doUse high-priority FCM messages only for genuine, user-visible urgency.
StrictMode flags cleartext traffic.
What to doMove to HTTPS.
BIND_CONDITION_PROVIDER_SERVICEsignatureBIND_QUICK_SETTINGS_TILEunknownBIND_SCREENING_SERVICEsignature|privilegedBIND_VR_LISTENER_SERVICEsignatureThis release shipped on Linux kernel versions 4.4. Kernel versions vary by device.