Merge "Fix at-clause typo for Handler." into main am: 9f086e5d7a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2666076 Change-Id: I8b8e742aa1191cc8814322d6b4af790edfeca45a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user