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

Skip to content
Commit 7697a032 authored by Hwangoo Park's avatar Hwangoo Park
Browse files

Fix a test failure reported as flaky

When the BroadcastReceiver is used for receiving the sent result, but it
can be reported as a flaky test since sometimes broadcasts can take a
long time if the system is under load.
This change uses the IActivityManager instead of the BroadcastReceiver
to check whether the PendingIntent#send(int) is successfully called or
not.

Bug: 262934689
Test: atest FrameworksTelephonyTests, SmsDispatchersControllerTest
Change-Id: I1111e7c0f329080149572fb7484f25ea8b9397ac
parent a24abe52
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