summaryrefslogtreecommitdiffstats
path: root/core/java/android/annotation
diff options
context:
space:
mode:
authorTor Norbye <tnorbye@google.com>2015-03-02 09:39:27 -0800
committerTor Norbye <tnorbye@google.com>2015-03-05 16:34:12 -0800
commit80756e38882720860db52f1fcc21fa1505a02abf (patch)
tree284afea0646c9e16b8f0a5ea11e013e21768e813 /core/java/android/annotation
parentcb59f2afb7a403af7c2bb6a6deb2c981a156fb96 (diff)
downloadframeworks_base-80756e38882720860db52f1fcc21fa1505a02abf.zip
frameworks_base-80756e38882720860db52f1fcc21fa1505a02abf.tar.gz
frameworks_base-80756e38882720860db52f1fcc21fa1505a02abf.tar.bz2
Annotate ARGB integer parameters with @ColorInt
Change-Id: I307f72a382272cf18ddb6b07d9fcb81228568d9a
Diffstat (limited to 'core/java/android/annotation')
-rw-r--r--core/java/android/annotation/ColorInt.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/annotation/ColorInt.java b/core/java/android/annotation/ColorInt.java
index 762a353..c4c93ee 100644
--- a/core/java/android/annotation/ColorInt.java
+++ b/core/java/android/annotation/ColorInt.java
@@ -26,7 +26,8 @@ import static java.lang.annotation.RetentionPolicy.SOURCE;
/**
* Denotes that the annotated element represents a packed color
- * int, {@code AARRGGBB}.
+ * int, {@code AARRGGBB}. If applied to an int array, every element
+ * in the array represents a color integer.
* <p>
* public abstract void setTextColor(&#64;ColorInt int color);
* }</pre>