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

Commit 067c4991 authored by Brett Chabot's avatar Brett Chabot
Browse files

Allow TestLooperManager access from current thread.

TestLooperManager would previously deadlock if both
acquire and next were called from the Looper's current thread.

This commit changes TestLooperManager to detect if acquire
and next was called from Looper's thread.

See: go/testable-messagequeue-bluedoc

Bug: 379472827
Flag: android.os.message_queue_testability
Test: android.os.cts.TestLooperManagerTest
Change-Id: Id458145cdac5d4e507e1d4d2c809b9d8a66a6ac2
parent 767ff220
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