Merge "Fix javadoc typos in Color and Context"

This commit is contained in:
Leon Scroggins
2023-02-28 16:19:03 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -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 * <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 * 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 * 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. * @param name The name of the desired service.
* *

View File

@@ -767,7 +767,7 @@ public class Color {
* Returns the alpha component encoded in the specified color long. * Returns the alpha component encoded in the specified color long.
* The returned value is always in the range \([0..1]\). * 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]\) * @return A float value in the range \([0..1]\)
* *
* @see #colorSpace(long) * @see #colorSpace(long)