From d5638c96cf29d4d29f3570af364c32f7ea33b46e Mon Sep 17 00:00:00 2001 From: Lucas Dupin Date: Mon, 19 Apr 2021 15:58:36 -0700 Subject: [PATCH] Fix typos in documentation Test: read docs Fixes: 185834160 Change-Id: I1e7204c196119ea24d5813dd0e5e3ee96f2743f8 --- core/java/android/content/res/ColorStateList.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/content/res/ColorStateList.java b/core/java/android/content/res/ColorStateList.java index 4c6255da0a39f..45b956bd7c5d4 100644 --- a/core/java/android/content/res/ColorStateList.java +++ b/core/java/android/content/res/ColorStateList.java @@ -115,11 +115,11 @@ import java.util.Arrays; * *

* Starting with API 31, items may optionally define an {@link android.R.attr#lStar android:lStar} - * attribute to modify the base color's perceptual luminance. This attribute takes a either + * attribute to modify the base color's perceptual luminance. This attribute takes either a * floating-point value between 0 and 100 or a theme attribute that resolves as such. The item's * overall color is calculated by converting the base color to an accessibility friendly color space * and setting its L* to the value specified on the {@code lStar} attribute. For - * example, the following item represents the theme's accent color at 50% perpectual luminosity: + * example, the following item represents the theme's accent color at 50% perceptual luminance: *

  * <item android:state_enabled="false"
  *         android:color="?android:attr/colorAccent"