Everything New in Android 17 Beta

Okay,here’s a verification adn correction of the provided Android 14 (API Level 34) release notes excerpt,based on the official Google⁤ documentation as of today,November ​2,2023. I will highlight corrections and additions.

Overall⁣ Assessment: The provided text is a reasonably good summary, but contains ​some inaccuracies and omissions. It appears to be based on an early or ⁤incomplete draft of the release notes. I will ​focus on providing the most accurate facts available from the official sources.


Android 14 (API Level 34) Release Notes – Verified & Updated

Key Changes & Considerations

Display

  • Regional Preferences: Users can customize system-wide app scaling, font size, and other display preferences on a per-region basis.⁤ Apps should ‌respect these settings.
  • Grammatical⁤ Inflection: Support for grammatical gender in languages.
  • Exemptions: Devices smaller than 600dp and apps categorized as Games (android:appCategory).

Optimized Configuration Changes

To prevent⁤ state loss, ​the system no longer restarts Activities by default for specific configuration changes, including:

  • CONFIG_KEYBOARD / CONFIG_KEYBOARD_HIDDEN
  • CONFIG_NAVIGATION
  • CONFIG_TOUCHSCREEN
  • Action Required: If your⁣ app relies on restarts to reload resources for these‌ events, you must explicitly opt-in ‌using the new android:recreateOnConfigChanges manifest attribute.

Performance & Runtime

  • Lock-free ‍MessageQueue: A new lock-free implementation of android.os.MessageQueue reduces missed frames.
  • Generational Garbage Collection: ART’s Concurrent Mark-Compact⁤ collector now supports generational GC,prioritizing frequent,low-cost “young generation” collections.
  • New Profiling Triggers: ProfilingManager adds triggers for COLD_START, ​OOM, and KILL_EXCESSIVE_CPU_USAGE.
  • Notification Restrictions: Strict size limits enforced on custom notification views to reduce memory usage.
  • OpenJDK 17 Updates: Android 14 includes updates to​ OpenJDK 17, bringing the latest features and improvements to the Java ⁣ecosystem.

Media & Camera

Camera

  • Dynamic Session Updates: Use CameraCaptureSession.updateOutputConfigurations() to switch use cases (e.g., Photo to Video) without closing the session or causing glitches.
  • Ultra HDR Image ⁣Support: ‍ Android 14 introduces support for Ultra HDR image capture,allowing‌ apps‌ to capture⁤ images with a wider dynamic range.

Audio & Video

  • Constant Quality for Video Recording: setVideoEncodingQuality() in MediaRecorder allows you to configure a constant quality (CQ) mode ‍for video encoders.
  • Background Audio⁤ Hardening:⁢ Audio playback, focus requests, and volume changes initiate silently (fail) if the ⁣app is not in a valid lifecycle state.
  • VVC Support: Added platform support for ‌Versatile Video Coding (H.266).

Privacy & Security

Leave a Comment