Android security tags, read closely by Lightrion

CVE-2024-40652 AI-generated analysis

platform/packages/apps/Settings, homepage (SettingsHomepageActivity)

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.

SettingsHomepageActivity.onCreate now reads Settings.Global.DEVICE_PROVISIONED and immediately finishes the activity when the device is not yet provisioned, so the Settings homepage cannot be used before setup completes.

Root cause

SettingsHomepageActivity.onCreate performed no check of the device provisioning state. Any launch of the activity (the commit message cites launching via ADB during Setup, or tapping the Settings launcher icon after bypassing Setup) proceeded to build the full Settings homepage regardless of whether DEVICE_PROVISIONED was set, exposing Settings functionality during the setup phase.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2024 · Findings