Android security tags, read closely by Lightrion

CVE-2026-0048 AI-generated analysis

platform/frameworks/base, WindowManager (services/core/java/com/android/server/wm/WindowState.java)

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 (2 corrections). Verify against the commit before relying on it.

WindowState.hide() now hides a force-hidden window (non-system overlay, suspended owner, app-op hidden, or permanently hidden) immediately when that window is already playing an exit animation, and cancels any in-progress animation, instead of letting the hide wait for the previous exit animation to finish.

Root cause

In WindowState.hide(boolean doAnimation, boolean requestAnim), when doAnimation was true the code only cleared doAnimation if !mToken.okToAnimate(). Per the commit message, if the window was already playing an exit animation, WSA#applyAnimationLocked skipped the hide animation and the hide waited for the previous exit animation to finish, which could take a long time. As a result, a window that policy had decided to hide (the commit's test uses an activity launched with the hide-overlay flag) stayed on screen during that time.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to June 2026 · Findings