Android security tags, read closely by Lightrion

CVE-2024-34737 AI-generated analysis

platform/frameworks/base, WindowManager / ActivityTaskManager (ActivityClientController, Picture-in-Picture)

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

Adds a CountQuotaTracker to ActivityClientController so that an app may change the PiP aspect ratio via setPictureInPictureParams/enterPictureInPictureMode at most 60 times per minute; excess requests throw IllegalStateException.

Root cause

ActivityClientController.setPictureInPictureParams and enterPictureInPictureMode accepted PictureInPictureParams aspect ratio changes from apps without any frequency limit. Per the commit message, an app could flood PiP resizing requests this way and freeze the PiP window. Per index search, ActivityRecord.setPictureInPictureParams copies params and calls getTask().getRootTask().onPictureInPictureParamsChanged(); the material does not show the controller-to-ActivityRecord path.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to August 2024 · Findings