Android5 min readintermediate
Introducing the AndroidX Security State Libraries: A Unified View of Device Security
Summary
AndroidX Security State (v1.1.0) and Security State Provider (v1.0.0) expose per‑component security patch levels (DSPL, PSPL, ASPL) for system, system modules, and kernel, letting apps and MDMs make context‑aware decisions and letting OEMs publish update availability via a standardized IPC.
- Three patch‑level concepts – Device SPL (installed), Published SPL (bulletin), Available SPL (staged update) – are now queryable per component.
- `androidx.security.state` offers synchronous DSPL checks, async ASPL queries, and CVE‑level auditing via OSV integration.
- `androidx.security.state.provider` defines an Android IPC contract for OTA clients (Google Play, GOTA, OEMs) to expose ASPL data to third‑party apps.
- Supplemental Patches XML lets OEMs credit back‑ported fixes without waiting for a full SPL bump; the libraries surface this as “effective” security state.
Relying on a single SPL string hides gaps in component‑level patching, especially with modular updates (Project Mainline). The new APIs give enterprises real‑time visibility into what’s actually protected, reducing false‑positive compliance checks and enabling proactive remediation.
5/10
