summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-02-20 19:07:41 -0800
committerElliott Hughes <enh@google.com>2015-02-21 09:03:13 -0800
commitfd9bc7bb36c68a104c739e378086ac82ace29c4b (patch)
treefb9c28f98f9e823464904c089b299362ecf148a3
parent0a7936b7c54fb7dff0406a40452cb0242f66a067 (diff)
downloadframeworks_base-fd9bc7bb36c68a104c739e378086ac82ace29c4b.zip
frameworks_base-fd9bc7bb36c68a104c739e378086ac82ace29c4b.tar.gz
frameworks_base-fd9bc7bb36c68a104c739e378086ac82ace29c4b.tar.bz2
Fix 'fuchsia' typo.
Bug: https://code.google.com/p/android/issues/detail?id=152142 Change-Id: Ib45f2d19d52fe9d95d560d37296d50cba190cb83
-rw-r--r--graphics/java/android/graphics/Color.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/java/android/graphics/Color.java b/graphics/java/android/graphics/Color.java
index 8fbedae..3fe5672 100644
--- a/graphics/java/android/graphics/Color.java
+++ b/graphics/java/android/graphics/Color.java
@@ -200,10 +200,11 @@ public class Color {
* exception. Supported formats are:
* #RRGGBB
* #AARRGGBB
+ * or one of the following names:
* 'red', 'blue', 'green', 'black', 'white', 'gray', 'cyan', 'magenta',
* 'yellow', 'lightgray', 'darkgray', 'grey', 'lightgrey', 'darkgrey',
- * 'aqua', 'fuschia', 'lime', 'maroon', 'navy', 'olive', 'purple',
- * 'silver', 'teal'
+ * 'aqua', 'fuchsia', 'lime', 'maroon', 'navy', 'olive', 'purple',
+ * 'silver', 'teal'.
*/
public static int parseColor(String colorString) {
if (colorString.charAt(0) == '#') {