summaryrefslogtreecommitdiffstats
path: root/core/java/android/os
diff options
context:
space:
mode:
authorFicus Kirkpatrick <ficus@android.com>2010-01-08 13:10:51 -0800
committerFicus Kirkpatrick <ficus@android.com>2010-01-08 16:37:43 -0800
commit71de7851a2d1c1ef0251bdc1ea59c5e6f58cf429 (patch)
treeab1cdc4c9e0e5386d01b5a75c931d948fed4c4f8 /core/java/android/os
parent4b138d8703d9f88031a5f2fbe6a6bda2d9ccf151 (diff)
downloadframeworks_base-71de7851a2d1c1ef0251bdc1ea59c5e6f58cf429.zip
frameworks_base-71de7851a2d1c1ef0251bdc1ea59c5e6f58cf429.tar.gz
frameworks_base-71de7851a2d1c1ef0251bdc1ea59c5e6f58cf429.tar.bz2
Make Build.UNKNOWN public.
There needs to be a way for apps to determine whether or not a build property exists. Exposing UNKNOWN (the value that Build sets properties to by default) will give apps something to compare against.
Diffstat (limited to 'core/java/android/os')
-rw-r--r--core/java/android/os/Build.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java
index 5f6c9d6..4870b7c 100644
--- a/core/java/android/os/Build.java
+++ b/core/java/android/os/Build.java
@@ -21,7 +21,7 @@ package android.os;
*/
public class Build {
/** Value used for when a build property is unknown. */
- private static final String UNKNOWN = "unknown";
+ public static final String UNKNOWN = "unknown";
/** Either a changelist number, or a label like "M4-rc20". */
public static final String ID = getString("ro.build.id");