Loading
Fix for b/411488376
Loop back around for another check of the stack if we detect a quitting condition during nextMessage(). Otherwise we may miss an item added in between our stack drain and the setting of quitting to true. Bug: 411488376 Flag: build.RELEASE_PACKAGE_MESSAGEQUEUE_IMPLEMENTATION Test: atest MessageQueueTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:111148f6c18a9d8b0c281bba2d5a9cf82bdb6dff) Merged-In: I12bc300db8c3660214769874bde08b08ea1fbc16 Change-Id: I12bc300db8c3660214769874bde08b08ea1fbc16