Android security tags, read closely by Lightrion

CVE-2025-32348 AI-generated analysis

platform/frameworks/base, WindowManager / ActivityTaskManager background activity launch (BAL) control

AI-generated: written from the bulletin and the fixing diffs by claude-fable-5-1, then checked against the code by claude-opus-5-5 (3 corrections). Verify against the commit before relying on it.

Stops treating a process whose only visible activity is in pinned (PIP) windowing mode as "has a visible window / foreground task" for background activity launch (BAL) exemptions. It does this by adding VisibleActivityProcessTracker.hasVisibleNotPinnedActivity and an inPinnedWindow parameter to BackgroundLaunchProcessController.areBackgroundActivityStartsAllowed.

Root cause

BackgroundActivityStartController computed callingUidHasAnyVisibleWindow / realCallingUidHasAnyVisibleWindow via mService.hasActiveVisibleWindow(uid). Per index, ActivityTaskManagerService.hasActiveVisibleWindow returns true when mVisibleActivityProcessTracker.hasVisibleActivity(uid) or mActiveUids.hasNonAppVisibleWindow(uid) is true. hasVisibleActivity matched any visible process of the uid, including one whose activity is in pinned (picture-in-picture) windowing mode, so such a caller got BAL_ALLOW_VISIBLE_WINDOW. Likewise, BackgroundLaunchProcessController.areBackgroundActivityStartsAllowed returned BAL_ALLOW_FOREGROUND whenever hasActivityInVisibleTask was true, without checking the process's windowing mode. A pinned-window process therefore also qualified via the "activity in foreground task" path, so a PIP window enabled background activity starts.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings