• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

Révisiona6b483722df09654cee1dc1de80a441b739c32aa (tree)
l'heure2015-09-29 08:30:16
AuteurZach Jang <zachjang@goog...>
CommiterThe Android Automerger

Message de Log

DO NOT MERGE - Backport of ag/748165 to klp-dev
Security patch level in Settings

b/23946860

Change-Id: I610d4dedf18fe1825d7df5febf29e6f0c006490d

Change Summary

Modification

--- a/core/java/android/os/Build.java
+++ b/core/java/android/os/Build.java
@@ -157,6 +157,21 @@ public class Build {
157157 public static final String RELEASE = getString("ro.build.version.release");
158158
159159 /**
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+ /**
160175 * The user-visible SDK version of the framework in its raw String
161176 * representation; use {@link #SDK_INT} instead.
162177 *