hn.today

The first beta of Android 18

developer.android.com5 points0 comments
Screenshot of The first beta of Android 18

Android 18 Beta 1 begins a roughly biweekly release cycle, running alongside the final Android 17 QPR3 beta. Android 18 is the annual major SDK release (API level 38), the year’s only release planned to introduce app-breaking behavior changes, and the only one with NDK updates. The platform aims to reach Platform Stability in February with final SDK/NDK APIs and mostly settled app-facing behavior, leaving developers several months to test before launch. The beta’s other highlights include an inline camera option in Photo Picker, new system I/O APIs, a lock-free MessageQueue for all apps, ART updates, and continued work on desktop windowing and adaptive devices.

The central change is a gradual rollout of per-process soft memory limits for apps running foreground or system-bound services without visible UI. Rather than automatically killing a process when it exceeds its limit, Android can reclaim unused file-backed pages and compress idle heap memory, helping backgrounded apps retain their active working set and resume faster. Visible-interface processes and camera, microphone, and phone-call services are exempt; developers can inspect limits with ADB or apply test overrides, and should release hidden UI caches, unload unused assets, or move suitable work into worker processes. The update builds on Android 17’s memory limits, budgets, profiling tools, and garbage-collection improvements. Android 18 also continues the broader effort to improve memory efficiency, security, privacy, and performance across devices.

Read on developer.android.com0 comments on Hacker News

Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.

More in Hardware

The daily digest

Today's best Hacker News stories, summarized and screenshotted, one email a day.