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

Skip to content
Commit b50e68e3 authored by fionaxu's avatar fionaxu
Browse files

fix TelephonyNetworkFactory unit test failure

there might be a race condition: the main testing thread executes
testcase (after setup) before the looper of the handlerThread is ready,
or before the message has been successfully delivered to the handerThread.
As a result, the main thread is creating a TelephonyNetworkFactory
object with a null DCT object.
the fix is create DcT object when the looper is ready and wait till DCT is
created successfully.

Bug: 29579544
Test: runtest --path
Change-Id: I9d00c78fc3290d2a0ec2e493c5a13879598005af
parent 8daf6380
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