Android security tags, read closely by Lightrion

CVE-2025-0100 AI-generated analysis

platform/frameworks/base, SystemUI MediaProjection permission dialog (packages/SystemUI/src/com/android/systemui/media/MediaProjectionPermissionActivity.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 (9 corrections). Verify against the commit before relying on it.

MediaProjectionPermissionActivity.onCreate now takes the requesting package from getLaunchedFromPackage() instead of getCallingPackage(), and still uses getCallingPackage() == null to pick out the system_server launch path.

Root cause

In MediaProjectionPermissionActivity.onCreate, mPackageName was assigned from getCallingPackage(). That value is then passed to packageManager.getApplicationInfo(mPackageName, 0) to derive mUid. According to the commit message, the change makes sure the activity does proper attribution and validation of permissions before showing. The fix changes the source of the package identity to getLaunchedFromPackage().

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to February 2025 · Findings