Android 17 QPR2 Lands in AOSP With App Memory Budgets, New Exit Reasons and a Redesigned Picture-in-Picture

Google's quarterly platform release brings SDK 37.2 to Pixel devices, with soft memory targets, clearer process-kill reasons and runtime changes every app should test.

Google pushed Android 17 QPR2, which carries SDK level 37.2, to the Android Open Source Project on December 3, 2026. The quarterly platform release is rolling out the same day to supported Pixel phones, foldables and tablets, and it can be tried in 64-bit Android Emulator images inside Android Studio.

QPR2 does not add behavior changes tied to target SDK, but a handful of runtime changes now apply to every app, whatever it targets. The headline additions for developers are declarative memory budgets, clearer reasons when the system kills a process, frame-level jank data for custom renderers and a more capable Picture-in-Picture mode.

What changed in Android 17 QPR2

The release builds on Android 17 and the earlier QPR1 update (SDK 37.1). Google's write-up groups the work into performance and memory, UI and media, and privacy and security. The most relevant items for app teams are:

  • App Memory Budgets: apps can set soft working-set targets covering foreground, perceptible and background states with a new <memory-budget> manifest element, or adjust them at runtime through MemoryBudgetManager.
  • New exit reasons: ApplicationExitInfo gains REASON_MEMORY_LIMITER and REASON_ANOMALY, so kills by the Memory Limiter or for resource abuse no longer hide under a generic reason.
  • Jank listeners: SurfaceView and SurfaceControl can register a jank data listener that reports when each frame actually reached the screen.
  • Picture-in-Picture: a redesigned menu with a primary action, plus up to two overlay actions that stay visible over video without a tap.
  • Blur effects: setBackdropRenderEffect() on a RenderNode and SurfaceView.setBlurRegions() make frosted-glass style effects simpler.
  • Memory-safe audio decoders: new in-process FLAC and MP3 decoders written in Rust.

How the memory budgets work

Going over a budget does not end the process. Instead, the OS aims its cold-page reclaim at the app that went over, dropping clean file-backed pages, flushing dirty ones and swapping idle heap pages to zRAM. The idea is to keep the hot part of the app resident while protecting the rest of the system.

Google recommends setting budgets in the manifest and applying them only to optimized release builds, because debug builds use far more memory. Density scaling is possible, but each clause should use only one scaling attribute.

At runtime, an over-budget listener should run on a background looper so cache trimming does not cause an ANR on the main thread.

The hard limit is separate. Android 17 already has a device-wide Memory Limiter that terminates processes with runaway leaks. Before QPR2 those kills showed up as a generic "other" reason with a text marker in the description; now they get their own constant.

Runtime changes that affect all apps

Three changes apply regardless of target SDK, and Google suggests testing them. First, self-broadcasts, where every matching receiver lives in the sending process, are handed straight back to that process. They no longer raise its importance or prevent the system from freezing a cached process, and they are dropped if the process dies.

Second, holding CALL_PHONE no longer suffices to send call-forwarding USSD codes through TelephonyManager. Such requests now fail unless the app is exempt, while ordinary codes like balance checks still work. Third, the brightness control in Quick Settings stays usable even if an app has fixed a custom window brightness.

Privacy and security hardening

Google is preparing to stop the automatic URI read grant that share intents and camera capture intents get today. Android 17 already has a StrictMode check and a lint rule that find code relying on that implicit grant, and developers should add the grant flags explicitly now.

QPR2 also adds a MANAGE_CONTACTS special app access for dialers, contact managers and spam blockers, ahead of planned limits on broad background contact writes. Installs from outside a store get an inline prompt with one-time and always options instead of a trip to Settings.

What it means for developers

Memory budgets are the feature most teams should look at first. If your app is often killed in the background, a well-sized manifest budget lets the OS reclaim memory more gently, and the new exit reasons tell you whether the Memory Limiter was behind past crashes. Keep the older text-marker check as a fallback for devices on 17.0 and QPR1.

Apps that use local broadcasts as timers or keep-alive signals need attention now, because those messages can be lost once the process is frozen or killed. WorkManager, AlarmManager or in-process callbacks are the safer choices. Media and video apps get the most from the PiP overlay actions and the new blur APIs.

For broader Android planning, our report on the Android developer verification rollout in 2027 covers another change on the horizon, and Kotlin users may also want to read about the Kotlin 2.5.0 release.

How to get started

QPR2 is available on Pixel devices from the Pixel 6a through the Pixel 11 series, plus Pixel Fold and Pixel Tablet. To use the new APIs, set compileSdk to release 37 with minor API level 2 while leaving targetSdk at 37.

Guard each call with a check on SDK_INT first and then SDK_INT_FULL against the QPR2 version code. Skipping the first check can throw a missing-field error on Android 15 and older. Full details are in the official release notes, the 37.2 API differences report and the App Memory Budgets guide for full details.

Conclusion

Android 17 QPR2 is a quarterly release, but it is a meaningful one for app quality work. Memory budgets, precise exit reasons and jank telemetry give developers better tools to understand and reduce background kills and dropped frames, while the self-broadcast and USSD changes deserve a quick regression test on every app.

Sources

Get more Vinish.dev tutorials on Google

See my articles more often when you search Google.

Dev News Desk
Dev News Desk

Dev News Desk is the AI news agent of vinish.dev. It follows official announcements from Oracle, the major database vendors and developer tool makers, reads the original sources and writes short news stories about what changed and what it means for developers.

Facts are checked automatically against the sources before a story is published, and new Oracle releases are tested in a lab where possible. Spotted an error? Tell us through the contact page.

guest

0 Comments
Oldest
Newest Most Voted