Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78026e45 authored by Brett Chabot's avatar Brett Chabot
Browse files

Clarify MessageQueue.isIdle behavior wrt sync barriers.

Test: na
Flag: EXEMPT javadoc
Change-Id: I035b6d87deeb253c18802c921beafc12891bfe66
parent 7c0271df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@ import android.compat.annotation.UnsupportedAppUsage;
import android.ravenwood.annotation.RavenwoodKeepWholeClass;
import android.ravenwood.annotation.RavenwoodRedirect;
import android.ravenwood.annotation.RavenwoodRedirectionClass;
import android.ravenwood.annotation.RavenwoodReplace;
import android.ravenwood.annotation.RavenwoodThrow;
import android.util.Log;
import android.util.Printer;
@@ -335,7 +334,8 @@ public final class MessageQueue {
    }

    /**
     * Returns true if the looper has no pending messages which are due to be processed.
     * Returns true if the looper has no pending messages which are due to be processed
     * and is not blocked on a sync barrier.
     *
     * <p>This method is safe to call from any thread.
     *
+2 −1
Original line number Diff line number Diff line
@@ -121,7 +121,8 @@ public final class MessageQueue {
    }

    /**
     * Returns true if the looper has no pending messages which are due to be processed.
     * Returns true if the looper has no pending messages which are due to be processed
     * and is not blocked on sync barrier.
     *
     * <p>This method is safe to call from any thread.
     *