Google rolls out the second Android 16 developer preview


Google has released the second Developer Preview (DP2) of Android 16 for Pixel devices, introducing enhanced features, improved app performance, and system-level optimizations. This release builds on the first preview, focusing on app functionality, battery efficiency, and system compatibility.

Key Highlights of Android 16 DP2

System-Triggered Profiling

The new ProfilingManager API enables system-triggered profiling, capturing essential events like app cold starts and ANRs for performance improvements.

Enhanced App Start Insights

The updated ApplicationStartInfo API introduces the getStartComponent() method, allowing developers to identify app startup components to streamline launches.

Custom Haptic Feedback

Developers can create custom vibration patterns using amplitude and frequency curves for consistent haptic responses across devices.

Job Management Enhancements

  • Job Introspection: JobScheduler APIs provide insights into pending jobs and constraint changes.
  • Job Execution Rules: Apps benefit from runtime quotas for efficient background processing.
  • Deprecated Features: JobInfo#setImportantWhileForeground() is now fully deprecated.

Adaptive Refresh Rate (ARR)

New APIs like hasArrSupport() and getSuggestedFrameRate(int) simplify ARR implementation. ARR support extends to RecyclerView 1.4 for smoother animations.

Accessibility Improvements

The announceForAccessibility method is deprecated. Developers should use setAccessibilityPaneTitle() and setAccessibilityLiveRegion() for better accessibility support.

Cloud Search Integration in Photo Picker

Media providers now support cloud search in the photo picker, enabling seamless access to both local and cloud-based media.

Improved Location Security

WiFi 6’s 802.11az standard introduces AES-256 encryption for WiFi location data, reducing the risk of man-in-the-middle attacks.

Health Connect Enhancements

  • A new ACTIVITY_INTENSITY data type supports WHO-defined activity levels.
  • Updated APIs manage health records in FHIR format with user consent.

Predictive Back Navigation

New system-level callbacks like finishAndRemoveTaskCallback() and moveTaskToBackCallback() enhance back gesture responsiveness.

Android Release Roadmap for 2025

Google plans two major Android API releases in 2025:

  • Q2: A significant update focused on behavior changes.
  • Q4: A minor update targeting optimizations and bug fixes.

Quarterly updates in Q1 and Q3 will ensure continuous improvements.

App Compatibility and Testing

The Android 16 Preview program runs until its public release in 2025. Google expects to reach Platform Stability by March 2025, allowing developers ample time for final testing.

Availability

Android 16 DP2 is available for Pixel devices, including the Pixel 6, 7, 8, 9 series, Pixel Fold, and Pixel Tablet. Devices running Android 16 DP1 will receive an OTA update, while the Android 16 Beta Program launches next month.