summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2022-02-11 10:06:42 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-02-11 10:06:42 +0000
commit64d4a8e01a028d8a82c55366c2fb30fe6a100bf7 (patch)
tree7d6bcacd88b3dadd082ea62bf5f5acaea579d5c7 /core/java/android
parentdc1f43d2e1d91098b8e4a7487f7952c56a48c1e2 (diff)
parentf8e89c239f3a316514e2411e9f1f7431410b917e (diff)
Merge "Expand javadoc for Build.VERSION.KNOWN_CODENAMES." am: 4ff7b1d723 am: f8e89c239f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1979486 Change-Id: I6617ac35d6946ed4f1884ba7a6f8c832f96cd4e5
Diffstat (limited to 'core/java/android')
-rwxr-xr-xcore/java/android/os/Build.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/java/android/os/Build.java b/core/java/android/os/Build.java
index 1afee057ebad..8f38f0ee7bc6 100755
--- a/core/java/android/os/Build.java
+++ b/core/java/android/os/Build.java
@@ -401,7 +401,12 @@ public class Build {
/**
* All known codenames starting from {@link VERSION_CODES.Q}.
*
- * <p>This includes in development codenames as well.
+ * <p>This includes in development codenames as well, i.e. if {@link #CODENAME} is not "REL"
+ * then the value of that is present in this set.
+ *
+ * <p>If a particular string is not present in this set, then it is either not a codename
+ * or a codename for a future release. For example, during Android R development, "Tiramisu"
+ * was not a known codename.
*
* @hide
*/