summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Leon Scroggins <scroggo@google.com> 2023-02-28 16:19:03 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-02-28 16:19:03 +0000
commitd153fa3fe3fa8da93f60c6ed0fbf0badcd967281 (patch)
treea018a625f9eaf89eeaeee02c40520ea3c869ae47
parent37d4e041bcbf61e7f9dfb5231005d76ba3e30f9c (diff)
parent956a76ae36cfe0b5808abab81e3ccbc5c1fe3656 (diff)
Merge "Fix javadoc typos in Color and Context"
-rw-r--r--core/java/android/content/Context.java2
-rw-r--r--graphics/java/android/graphics/Color.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/content/Context.java b/core/java/android/content/Context.java
index b87fa11e5f67..a1726aae1a8e 100644
--- a/core/java/android/content/Context.java
+++ b/core/java/android/content/Context.java
@@ -4039,7 +4039,7 @@ public abstract class Context {
* <p>Note: When implementing this method, keep in mind that new services can be added on newer
* Android releases, so if you're looking for just the explicit names mentioned above, make sure
* to return {@code null} when you don't recognize the name &mdash; if you throw a
- * {@link RuntimeException} exception instead, you're app might break on new Android releases.
+ * {@link RuntimeException} exception instead, your app might break on new Android releases.
*
* @param name The name of the desired service.
*
diff --git a/graphics/java/android/graphics/Color.java b/graphics/java/android/graphics/Color.java
index 87a805379b56..0f2f8797b896 100644
--- a/graphics/java/android/graphics/Color.java
+++ b/graphics/java/android/graphics/Color.java
@@ -767,7 +767,7 @@ public class Color {
* Returns the alpha component encoded in the specified color long.
* The returned value is always in the range \([0..1]\).
*
- * @param color The color long whose blue channel to extract
+ * @param color The color long whose alpha channel to extract
* @return A float value in the range \([0..1]\)
*
* @see #colorSpace(long)