summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Jang <zachjang@google.com>2015-09-21 18:58:18 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-09-21 18:58:18 +0000
commite54c195a53694696e0913722fa721c882e33753e (patch)
tree313b7a1810e1adf514b0b1116d95bedb5c986b61
parent683cd049f7c762251567a0e0386ee49bb1428351 (diff)
parent0a8197b1e43bc3771fc3f8595619603ec8f6f641 (diff)
downloadframeworks_base-e54c195a53694696e0913722fa721c882e33753e.zip
frameworks_base-e54c195a53694696e0913722fa721c882e33753e.tar.gz
frameworks_base-e54c195a53694696e0913722fa721c882e33753e.tar.bz2
am 0a8197b1: am 1cf21e44: DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings
* commit '0a8197b1e43bc3771fc3f8595619603ec8f6f641': DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings
-rw-r--r--core/java/android/os/Build.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java
index 4b0cef6..a3b2015 100644
--- a/core/java/android/os/Build.java
+++ b/core/java/android/os/Build.java
@@ -157,6 +157,21 @@ public class Build {
public static final String RELEASE = getString("ro.build.version.release");
/**
+ * The base OS build the product is based on.
+ * For Pre-API 23 - use support libs to access.
+ * @hide
+ */
+ public static final String BASE_OS = SystemProperties.get("ro.build.version.base_os", "");
+
+ /**
+ * The user-visible security patch level.
+ * For Pre-API 23 - use support libs to access.
+ * @hide
+ */
+ 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.
*