diff options
author | Dianne Hackborn <hackbod@google.com> | 2015-08-13 00:46:59 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-08-13 00:46:59 +0000 |
commit | ff9912d594bc5cdc10a4a224b9a2296bac50851b (patch) | |
tree | 6d571e14739a8991491c26ecf209649bf2ed08b1 /core | |
parent | c97509c0292910d7fb27e4c890ad4bc0ea723fec (diff) | |
parent | c3f7449517743719ace8a8315c6d23d4349db5d1 (diff) | |
download | frameworks_base-ff9912d594bc5cdc10a4a224b9a2296bac50851b.zip frameworks_base-ff9912d594bc5cdc10a4a224b9a2296bac50851b.tar.gz frameworks_base-ff9912d594bc5cdc10a4a224b9a2296bac50851b.tar.bz2 |
Merge "Fix issue #23116383: Include security patch level in Settings" into mnc-dev
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. * |