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

Commit 26302b2e authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "TestLooperManager and MessageQueue javadoc fixes." into main

parents d06283c0 37531b90
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -786,8 +786,8 @@ public final class MessageQueue {
    }

    /**
     * Get the timestamp of the next executable message in our priority queue.
     * Returns null if there are no messages ready for delivery.
     * Get the timestamp of the next message in our priority queue.
     * Returns null if there are no messages in the queue.
     *
     * Caller must ensure that this doesn't race 'next' from the Looper thread.
     */
@@ -799,8 +799,8 @@ public final class MessageQueue {
    }

    /**
     * Return the next executable message in our priority queue.
     * Returns null if there are no messages ready for delivery
     * Return the next message in our priority queue.
     * Returns null if there are no messages in the queue.
     *
     * Caller must ensure that this doesn't race 'next' from the Looper thread.
     */
+5 −5
Original line number Diff line number Diff line
@@ -96,8 +96,8 @@ public class TestLooperManager {
    }

    /**
     * Retrieves and removes the next message that should be executed by this queue.
     * If the queue is empty or no messages are deliverable, returns null.
     * Retrieves and removes the next message in this queue.
     * If the queue is empty, returns null.
     * This method never blocks.
     *
     * <p>Callers should always call {@link #recycle(Message)} on the message when all interactions
@@ -112,9 +112,9 @@ public class TestLooperManager {
    }

    /**
     * Retrieves, but does not remove, the values of {@link Message#when} of next message that
     * should be executed by this queue.
     * If the queue is empty or no messages are deliverable, returns null.
     * Retrieves, but does not remove, the values of {@link Message#when} of next message in the
     * queue.
     * If the queue is empty, returns null.
     * This method never blocks.
     */
    @FlaggedApi(Flags.FLAG_MESSAGE_QUEUE_TESTABILITY)