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

Skip to content
Commit 10b261fa authored by Jordan Liu's avatar Jordan Liu
Browse files

Fix testBroadcastUndeliveredUserLocked

The old code which verifies that one receiver is registered does not
count the receiver that GsmInboundSmsHandler creates when the device is
in TEST_MODE (defaults to on, on userdebug). So we replace the times(1)
call with an atLeastOnce().

Bug: 145232009
Test: atest GsmInboundSmsHandlerTest#testBroadcastUndeliveredUserLocked
Change-Id: Id8ed77afba10fee2d8bca6ddffeb8bd3ab26c0e8
parent f0d99e7d
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