summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mateus Azis <azis@google.com> 2023-07-19 12:03:27 -0700
committer Mateus Azis <azis@google.com> 2023-07-19 12:04:05 -0700
commit9ee4a78bcbc71dc62c28004693c48381e70db4a2 (patch)
treec3aac16a74186be124073f1d0fdd2ef32219020e
parent87d797073014d48312dfeed3a4d25f08dd054160 (diff)
Fix at-clause typo for Handler.
The documentation had a typo (missing "@") and would not render some links correctly. See: https://developer.android.com/reference/android/os/Handler?hl=en#Handler() Change-Id: I55333133f130736271c6550b0e8fba7e485ef933
-rw-r--r--core/java/android/os/Handler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/os/Handler.java b/core/java/android/os/Handler.java
index 834867cab3a8..55b7a7d56eb4 100644
--- a/core/java/android/os/Handler.java
+++ b/core/java/android/os/Handler.java
@@ -119,7 +119,7 @@ public class Handler {
* crashes (if a handler is sometimes created on a thread without a Looper active), or race
* conditions, where the thread a handler is associated with is not what the author
* anticipated. Instead, use an {@link java.util.concurrent.Executor} or specify the Looper
- * explicitly, using {@link Looper#getMainLooper}, {link android.view.View#getHandler}, or
+ * explicitly, using {@link Looper#getMainLooper}, {@link android.view.View#getHandler}, or
* similar. If the implicit thread local behavior is required for compatibility, use
* {@code new Handler(Looper.myLooper())} to make it clear to readers.
*
@@ -144,7 +144,7 @@ public class Handler {
* crashes (if a handler is sometimes created on a thread without a Looper active), or race
* conditions, where the thread a handler is associated with is not what the author
* anticipated. Instead, use an {@link java.util.concurrent.Executor} or specify the Looper
- * explicitly, using {@link Looper#getMainLooper}, {link android.view.View#getHandler}, or
+ * explicitly, using {@link Looper#getMainLooper}, {@link android.view.View#getHandler}, or
* similar. If the implicit thread local behavior is required for compatibility, use
* {@code new Handler(Looper.myLooper(), callback)} to make it clear to readers.
*/