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

Commit edd4d1d4 authored by Mark Fasheh's avatar Mark Fasheh Committed by Android Build Coastguard Worker
Browse files

Fix for b/411488376

Bug: 411488376
Flag: build.RELEASE_PACKAGE_MESSAGEQUEUE_IMPLEMENTATION
Test: atest MessageQueueTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0beac4c7732c53c242acef3c557779cf7974a53b)
Merged-In: I12bc300db8c3660214769874bde08b08ea1fbc16
Change-Id: I12bc300db8c3660214769874bde08b08ea1fbc16
parent 8323ecab
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -801,8 +801,6 @@ public final class MessageQueue {
            if (found == null) {
                if (getQuitting()) {
                    mNextPollTimeoutMillis = 0;
                    // State change will be Active->Active, so can immediately return here.
                    return null;
                } else if (next == null) {
                    /* No message to deliver, sleep indefinitely, unless quitting */
                    mNextPollTimeoutMillis = -1;