Android has introduced new Security State libraries that allow apps and enterprise security tools to get a clearer picture of a device’s security status.
Instead of relying only on the traditional Android Security Patch Level date, applications can now check whether important system components, modules, or kernel fixes are missing or available.
The new release includes AndroidX Security State 1.1.0 and Security State Provider 1.0.0. The libraries are aimed at applications where device security is especially important, including banking, healthcare, financial services, enterprise mobility, and Mobile Device Management platforms.
More Detailed Patch Information
Android devices do not receive every security update through the same channel. Some fixes come from the phone manufacturer, while other components can be updated through Google Play system updates. Linux kernel updates may follow separate Long-Term Support releases.
Because of this, a single patch date does not always provide a complete picture of a phone’s security.
The new Security State libraries can provide information about three different patch levels:
- Device Security Patch Level: The security level currently installed on the device.
- Published Security Patch Level: The latest security level published through the Android Security Bulletin.
- Available Security Patch Level: A security update that is available for the specific device but has not yet been installed.
The checks can cover:
- Android system components
- Modular system components
- Linux kernel versions
This gives applications a more detailed view of which parts of a device are protected and which may still require an update.
Useful for Banking and Enterprise Apps
The new APIs could allow security-sensitive applications to make decisions based on the actual security state of a device.
For example:
- A banking app could check for important pending security updates before allowing a high-value transaction.
- An enterprise app could verify that a managed phone meets the organization’s security requirements.
- A payment application could check whether relevant NFC security fixes have been installed.
- An application using Bluetooth could verify whether important Bluetooth-related vulnerabilities have been addressed.
Apps could also detect when an update is already available and direct users to Android Settings to install it rather than immediately blocking access.
The libraries can also support vulnerability-specific checks, allowing developers to look at whether fixes for particular security issues have been applied.
Better Visibility for Android Security
The Security State libraries can use Android security information to provide more accurate assessments of device protection.
Android 17 also adds support for Supplemental Patches XML, which allows manufacturers to report security fixes that have been applied before they appear in a complete monthly security patch.
This means an OEM can communicate that a particular vulnerability has already been fixed even when the device has not yet received a newer overall patch-level date.
The Security State Provider also gives update providers a standard way to report available updates to Android applications and management platforms.
Google is working with device manufacturers to bring their update systems into this broader framework.
Overall, the new libraries give developers and enterprise security teams a better way to understand Android patch status. Instead of judging security from a single date, applications can now look more closely at individual components and determine whether important fixes are installed, available, or still missing.