Android security tags, read closely by Lightrion

CVE-2025-32345 AI-generated analysis

platform/packages/apps/Settings, security settings (Content Protection toggle, src/com/android/settings/security/)

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

In Settings, ContentProtectionTogglePreferenceController.updateState now disables the Content Protection main switch for every non-admin user (!UserManager.isAdminUser()) instead of only for guest users (UserManager.isGuestUser()).

Root cause

ContentProtectionTogglePreferenceController.updateState() decides whether the SettingsMainSwitchPreference for Content Protection can be used. When no enforced admin applies, the original code only called mSwitchBar.setEnabled(false) if userManager.isGuestUser() was true. Any other non-admin user (for example a secondary user) therefore kept an enabled switch and could change the Content Protection preference. The test file reads and writes this preference as a Settings.Global value (KEY_CONTENT_PROTECTION_PREFERENCE), which suggests it is a device-wide setting. The commit title states the toggle should not be enabled for non-admin users. The bulletin rates this as a High severity EoP.

How the fix works

Completeness

Behavior changes

Per major

Unknowns

Back to September 2025 · Findings