Contents

Docs

General
Provisioning
Work profile
Fully managed
App management
FAQ

Change log

Share this page

Android 17 QPR2 Stable - CP4A.261105.040.A1

Track: QPR2 Stable | Predecessor: QPR1 Stable (CP3A.261005.005) | Next milestone: QPR3 stable (March 2027)

The second quarterly platform release for Android 17 ships to Pixel devices with the November 2026 security patch, arriving a month earlier than the typical December QPR cadence. This builds on four months of QPR2 beta development. The headline is the graduation of the policyStreamlining master flag - the foundation for AMAPI-aligned typed policy management is now enabled on stable builds for the first time. DLP expands into a full system service, network logging gains a streaming API, and 29 new feature flags bring the total to 157.

Policy streamlining goes live (shipped)

#

The policyStreamlining master flag graduates to true, activating the AMAPI-aligned typed policy namespace on stable builds. This is the most structurally significant change since the enterprise policy engine was introduced - DPC apps can now set, query, and observe policies through strongly typed PolicyIdentifier objects rather than the legacy string-keyed API.

Alongside the master flag, the policy engine has matured substantially:

  • The policy handler has been refactored from a thin routing shell into a full handler with set/get/validate/permission-check chains
  • All six policy validators (enum, integer, long, string, package, list) now contain real validation logic
  • The monolithic Policies.java metadata class has been replaced with eight per-namespace supplier classes using lazy loading
  • Four new policy namespaces arrive: CrossDevice, Security, SystemPolicies, and DeviceRadioState
  • The DeviceConnectivityManagement namespace is restructured into inner classes (Usb, MobileNetworks, Vpn, Wifi) for domain-specific grouping
  • Eleven new policy handlers cover developer options, content capture, Bluetooth sharing, Wi-Fi Direct, factory reset, easter eggs, memory tagging, and task continuity handoff

All 14 new policy streamlining sub-flags are provisional. The master gate is live, but individual policy areas still need their own flags to graduate before enforcement switches over.

Data leak prevention becomes a system service (provisional)

#

The DLP framework, which shipped as a skeleton in QPR1, expands with eight new classes to become a fully functional system service. The new DataLeakPreventionManager provides:

  • URI access checks with verdict-based enforcement (allow/block)
  • URI operation checks for content sharing
  • Print job DLP enforcement
  • Batch operations for checking multiple URIs at once
  • UI handling modes (silent, system-owned, caller-owned) for controlling how DLP blocks are presented

New DPC-facing APIs setDataLeakPreventionRules() and getDataLeakPreventionRules() let admins define and retrieve DLP rules. The DLP event model has been enriched with timestamps, rule IDs, source/destination tracking, transfer actions, and enforcement verdicts.

This closely mirrors Chrome Enterprise's DataLeakPreventionRulesList capability for controlling clipboard, screenshot, printing, and file transfers. The Android implementation works by app rather than by URL, but the enforcement model (allow/block/redact with reporting) is the same.

Network log streaming (provisional)

#

A new real-time network log delivery API arrives alongside the existing batch polling model. setNetworkLogEventCallback() lets DPC apps receive network events as they occur through a callback, eliminating the latency of periodic batch retrieval. clearNetworkLogEventCallback() removes the callback. This is gated by networkLogStreamingEnabled (provisional).

Eight graduated flags (shipped)

#

Eight flags move from provisional to shipped, confirming these features are now live:

  • policyStreamlining - master gate for typed policy namespace (see above)
  • dpmSecurityLevelWpaOnly - WPA-only Wi-Fi security level enforcement. DPC apps can now require WPA or stronger for all Wi-Fi connections
  • enforcingAdminExtraEnabled and enforcingAdminGetComponentNameEnabled - enforcing admin attribution in policy resolution. Admins can identify which policy enforcer set a given policy
  • increaseWatchStrongAuthTimeout - strong auth timeout on Wear OS devices with managed trust increases from 3 days to 14 days. Graduated between QPR2 final beta and stable
  • managedEsimOutgoingTransferPolicy - eSIM outgoing transfer policy control
  • secureAdbRoleBypassing - secure ADB role bypass check
  • setTimeCoexistence - time-setting coexistence across multiple admins

One additional flag ships already enabled: useRemoveUserWhenPossibleForWipeForegroundUser (true from first appearance in stable). This reworks foreground user wipe to use removeUserWhenPossible() with smart user-switching rather than a hardcoded switch to user 0.

29 new feature flags (provisional)

#

The flag count grows from 128 (QPR1 stable) to 157. By category:

Security and logging (6) - advanced security logging, real-time network log streaming, package failure event logging, user login attempt and logout tracking, and Extended Detection and Response (XDR) reporting

Policy streamlining expansion (14) - application policy, content capture, content protection, developer options, ethernet state, first-use hints, login screen, memory tagging extension, security logging decomposition, short support message, task continuity handoff, feature pack umbrella, Wi-Fi Direct, and Wi-Fi local-only hotspot

Multi-user and device management (5) - device controller reboot permission, removing the last non-headless user, add-user restrictions for profile owner multi-user, single-user device management modes, and foreground user wipe via removal

Other (4) - extended ESID serial number, device admin race condition fix, ADB role bypass check relocation, and affiliation ID permission management

New DPM methods

#

Eight new methods on DevicePolicyManager:

  • Network logging - setNetworkLogEventCallback() and clearNetworkLogEventCallback() for real-time delivery
  • DLP - setDataLeakPreventionRules() and getDataLeakPreventionRules() for admin-defined data leak prevention rules
  • COPE - isOrganizationOwnedManagedProfileProvisioningSupported() for checking COPE provisioning support
  • eSIM - isOutgoingEsimTransferAllowed() replaces the old isOutgoingTransferAllowedForSubscription()
  • Security logging - reportUserLoginAttempt() for recording login success/failure to the security log

Multi-user device management progress

#

The ProvisioningPreconditionChecker arrives as a standalone class for validating multi-user managed device provisioning. It checks headless system user mode, permanent admin status, switch-to support, incompatible accounts, and non-default management role holders.

UserManager advances with the "VisibleBackgroundFullUsers" rename (distinguishing full users from profile-type background users), a dedicated task user type check, and headless login screen support - all building toward the ChromeOS/Aluminium shared device model.

SecurityLogMonitor multi-user infrastructure (provisional)

#

Security logging gains multi-user awareness with per-user log states, though the feature is currently gated (returns false). The terminology updates from "device owner/profile owner" to "device management app" throughout, reflecting device controller support. The monitor is now injector-based for testability.

AOSP source status

#

Android 17 base source is available in AOSP (android-17.0.0_r1). Neither QPR1 nor QPR2 source has been published despite both being stable. Google's Q4 2026 publishing window is closing.

mail Reply by email | edit_note Edit this page | code_blocks Code

Docs

General
Provisioning
Work profile
Fully managed
App management
FAQ
Ask MIKA
MIKA Mobile Intelligence & Knowledge Assistant