Skip to content

Commit bf1c34e

Browse files
Zach Jangandi34
authored andcommitted
DO NOT MERGE - Backport of ag/748165 to klp-dev Security patch level in Settings
b/23946860 Change-Id: I610d4dedf18fe1825d7df5febf29e6f0c006490d (cherry picked from commit bdf7f35)
1 parent 41d7f47 commit bf1c34e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

core/java/android/os/Build.java

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,21 @@ public static class VERSION {
8989
*/
9090
public static final String RELEASE = getString("ro.build.version.release");
9191

92+
/**
93+
* The base OS build the product is based on.
94+
* For Pre-API 23 - use support libs to access.
95+
* @hide
96+
*/
97+
public static final String BASE_OS = SystemProperties.get("ro.build.version.base_os", "");
98+
99+
/**
100+
* The user-visible security patch level.
101+
* For Pre-API 23 - use support libs to access.
102+
* @hide
103+
*/
104+
public static final String SECURITY_PATCH = SystemProperties.get(
105+
"ro.build.version.security_patch", "");
106+
92107
/**
93108
* The user-visible SDK version of the framework in its raw String
94109
* representation; use {@link #SDK_INT} instead.

0 commit comments

Comments
 (0)