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
This commit is contained in:
@@ -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 <gradient>}
|
||||
* {@code android:useLevel} attribute on the inner {@code <gradient>}
|
||||
* tag, NOT the {@code android:useLevel} attribute on the outer
|
||||
* {@code <shape>} tag. For example,
|
||||
* {@code <shape>} tag. For example,
|
||||
* <pre>{@code
|
||||
* <shape ...>
|
||||
* <gradient
|
||||
|
||||
@@ -1126,8 +1126,8 @@ public final class Telephony {
|
||||
* Broadcast Action: A debug code has been entered in the dialer. This intent is
|
||||
* broadcast by the system and OEM telephony apps may need to receive these broadcasts.
|
||||
* These "secret codes" are used to activate developer menus by dialing certain codes.
|
||||
* And they are of the form {@code *#*#<code>#*#*}. The intent will have the data
|
||||
* URI: {@code android_secret_code://<code>}. It is possible that a manifest
|
||||
* And they are of the form {@code *#*#<code>#*#*}. The intent will have the data
|
||||
* URI: {@code android_secret_code://<code>}. It is possible that a manifest
|
||||
* receiver would be woken up even if it is not currently running.
|
||||
*
|
||||
* <p>Requires {@code android.Manifest.permission#CONTROL_INCALL_EXPERIENCE} to
|
||||
|
||||
@@ -2758,8 +2758,8 @@ public class TelephonyManager {
|
||||
* (see {@link #hasCarrierPrivileges}).
|
||||
* <p>
|
||||
* These "secret codes" are used to activate developer menus by dialing certain codes.
|
||||
* And they are of the form {@code *#*#<code>#*#*}. The intent will have the data
|
||||
* URI: {@code android_secret_code://<code>}. It is possible that a manifest
|
||||
* And they are of the form {@code *#*#<code>#*#*}. The intent will have the data
|
||||
* URI: {@code android_secret_code://<code>}. It is possible that a manifest
|
||||
* receiver would be woken up even if it is not currently running.
|
||||
* <p>
|
||||
* It is supposed to replace {@link android.provider.Telephony.Sms.Intents#SECRET_CODE_ACTION}
|
||||
|
||||
Reference in New Issue
Block a user