frameworks/base
Révision | a6b483722df09654cee1dc1de80a441b739c32aa (tree) |
---|---|
l'heure | 2015-09-29 08:30:16 |
Auteur | Zach Jang <zachjang@goog...> |
Commiter | The Android Automerger |
DO NOT MERGE - Backport of ag/748165 to klp-dev
Security patch level in Settings
b/23946860
Change-Id: I610d4dedf18fe1825d7df5febf29e6f0c006490d
@@ -157,6 +157,21 @@ public class Build { | ||
157 | 157 | public static final String RELEASE = getString("ro.build.version.release"); |
158 | 158 | |
159 | 159 | /** |
160 | + * The base OS build the product is based on. | |
161 | + * For Pre-API 23 - use support libs to access. | |
162 | + * @hide | |
163 | + */ | |
164 | + public static final String BASE_OS = SystemProperties.get("ro.build.version.base_os", ""); | |
165 | + | |
166 | + /** | |
167 | + * The user-visible security patch level. | |
168 | + * For Pre-API 23 - use support libs to access. | |
169 | + * @hide | |
170 | + */ | |
171 | + public static final String SECURITY_PATCH = SystemProperties.get( | |
172 | + "ro.build.version.security_patch", ""); | |
173 | + | |
174 | + /** | |
160 | 175 | * The user-visible SDK version of the framework in its raw String |
161 | 176 | * representation; use {@link #SDK_INT} instead. |
162 | 177 | * |