From c3f7449517743719ace8a8315c6d23d4349db5d1 Mon Sep 17 00:00:00 2001 From: Dianne Hackborn Date: Wed, 12 Aug 2015 16:10:58 -0700 Subject: Fix issue #23116383: Include security patch level in Settings Change-Id: I4934c7d26bf69b5c599962cd74ac1e4ea4ad4b51 --- core/java/android/os/Build.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'core') diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java index a0162f7..2374899 100644 --- a/core/java/android/os/Build.java +++ b/core/java/android/os/Build.java @@ -157,6 +157,17 @@ public class Build { public static final String RELEASE = getString("ro.build.version.release"); /** + * The base OS build the product is based on. + */ + public static final String BASE_OS = SystemProperties.get("ro.build.version.base_os", ""); + + /** + * The user-visible security patch level. + */ + public static final String SECURITY_PATCH = SystemProperties.get( + "ro.build.version.security_patch", ""); + + /** * The user-visible SDK version of the framework in its raw String * representation; use {@link #SDK_INT} instead. * -- cgit v1.1