diff options
author | Dianne Hackborn <hackbod@google.com> | 2015-08-12 16:10:58 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2015-08-12 16:10:58 -0700 |
commit | c3f7449517743719ace8a8315c6d23d4349db5d1 (patch) | |
tree | 772ace18e573c8477ca0ba8b8d3e0410cb23f5f9 /core | |
parent | ad7719dea4e8fd34854e4dcc918fc593c4416d82 (diff) | |
download | frameworks_base-c3f7449517743719ace8a8315c6d23d4349db5d1.zip frameworks_base-c3f7449517743719ace8a8315c6d23d4349db5d1.tar.gz frameworks_base-c3f7449517743719ace8a8315c6d23d4349db5d1.tar.bz2 |
Fix issue #23116383: Include security patch level in Settings
Change-Id: I4934c7d26bf69b5c599962cd74ac1e4ea4ad4b51
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/os/Build.java | 11 |
1 files changed, 11 insertions, 0 deletions
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. * |