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

Commit 04be6f6e authored by Shai Barack's avatar Shai Barack
Browse files

Check if priority queue is empty before attempting to get first element

Avoids allocating an exception that we'll just discard in a common (non-exceptional) case.

Bug: 415954362
Flag: build.RELEASE_PACKAGE_MESSAGEQUEUE_IMPLEMENTATION
Change-Id: I9065f4b50da921f14354f1055cace52f098e55d0
parent b4b83acf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment