summaryrefslogtreecommitdiff
path: root/graphics/java
diff options
context:
space:
mode:
author Alan Stokes <alanstokes@google.com> 2019-02-28 16:45:47 +0000
committer Alan Stokes <alanstokes@google.com> 2019-02-28 17:42:50 +0000
commita9b5b2aab060886396ec865b36fefa13b3d0c364 (patch)
treef56dd88b3ec5815dff45003e612c6436e3344c1d /graphics/java
parent222d1d04bfb1b4eda3962a917779ffc0efa987af (diff)
Fix javadoc HTML escaping.
HTLM special characters ('<', '>' and '&') don't need to be escaped inside {@code}, even though they do elsewhere in javadoc. And in fact they shouldn't be - because if they are escaped then the escaped version shows up verbatim in the developer docs. See for example: https://developer.android.com/reference/android/graphics/drawable/GradientDrawable https://developer.android.com/reference/android/support/v13/view/inputmethod/InputConnectionCompat This change just removes the escaping to fix the public documentation. Test: N/A (only comment lines changed) Change-Id: I131b3b3e26547e30cff7b67514d177c48926bb26
Diffstat (limited to 'graphics/java')
-rw-r--r--graphics/java/android/graphics/drawable/GradientDrawable.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/java/android/graphics/drawable/GradientDrawable.java b/graphics/java/android/graphics/drawable/GradientDrawable.java
index d34d461e8a87..2a286afd7b63 100644
--- a/graphics/java/android/graphics/drawable/GradientDrawable.java
+++ b/graphics/java/android/graphics/drawable/GradientDrawable.java
@@ -579,9 +579,9 @@ public class GradientDrawable extends Drawable {
* The default value for this property is {@code false}.
* <p>
* <strong>Note</strong>: This property corresponds to the
- * {@code android:useLevel} attribute on the inner {@code &lt;gradient&gt;}
+ * {@code android:useLevel} attribute on the inner {@code <gradient>}
* tag, NOT the {@code android:useLevel} attribute on the outer
- * {@code &lt;shape&gt;} tag. For example,
+ * {@code <shape>} tag. For example,
* <pre>{@code
* <shape ...>
* <gradient