Merge "Fix invalid code link, update exception message" into main am: 34a33cd439 am: 54dfebd7d6

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2654715

Change-Id: I3121ccfb118dc550ecfb1abf59733cc5f36b4780
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2023-08-11 20:51:56 +00:00
committed by Automerger Merge Worker

View File

@@ -182,7 +182,7 @@ public class Handler {
* *
* Asynchronous messages represent interrupts or events that do not require global ordering * Asynchronous messages represent interrupts or events that do not require global ordering
* with respect to synchronous messages. Asynchronous messages are not subject to * with respect to synchronous messages. Asynchronous messages are not subject to
* the synchronization barriers introduced by {@link MessageQueue#enqueueSyncBarrier(long)}. * the synchronization barriers introduced by {@link MessageQueue#postSyncBarrier()}.
* *
* @param async If true, the handler calls {@link Message#setAsynchronous(boolean)} for * @param async If true, the handler calls {@link Message#setAsynchronous(boolean)} for
* each {@link Message} that is sent to it or {@link Runnable} that is posted to it. * each {@link Message} that is sent to it or {@link Runnable} that is posted to it.
@@ -203,7 +203,7 @@ public class Handler {
* *
* Asynchronous messages represent interrupts or events that do not require global ordering * Asynchronous messages represent interrupts or events that do not require global ordering
* with respect to synchronous messages. Asynchronous messages are not subject to * with respect to synchronous messages. Asynchronous messages are not subject to
* the synchronization barriers introduced by {@link MessageQueue#enqueueSyncBarrier(long)}. * the synchronization barriers introduced by {@link MessageQueue#postSyncBarrier()}.
* *
* @param callback The callback interface in which to handle messages, or null. * @param callback The callback interface in which to handle messages, or null.
* @param async If true, the handler calls {@link Message#setAsynchronous(boolean)} for * @param async If true, the handler calls {@link Message#setAsynchronous(boolean)} for
@@ -751,7 +751,7 @@ public class Handler {
MessageQueue queue = mQueue; MessageQueue queue = mQueue;
if (queue == null) { if (queue == null) {
RuntimeException e = new RuntimeException( RuntimeException e = new RuntimeException(
this + " sendMessageAtTime() called with no mQueue"); this + " sendMessageAtFrontOfQueue() called with no mQueue");
Log.w("Looper", e.getMessage(), e); Log.w("Looper", e.getMessage(), e);
return false; return false;
} }