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

Skip to content
Commit 96a6fec4 authored by Jing Ji's avatar Jing Ji
Browse files

Check the isInUse with the lock held in MessageQueue

Fix a potential race condtion when the same message object
is being enqueued by two threads.

Bug: 150263007
Test: atest android.os.cts.MessageQueueTest
Change-Id: Id79448ba8719479cbdb054f2cdd172fdcbe86d47
parent 1e191621
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment