Skip to content
Commit 486b4185 authored by Giulio Fiscella's avatar Giulio Fiscella
Browse files

Fix local error for SafetyCenterListener#onError test.

Add a buffer to the channel to make sure threads do not get stuck in a deadlock.
Always consume the data in a channel when it is expected even if unrelated to the test.

Test: atest CtsSafetyCenterTestCases
Bug: 223507707
Change-Id: I9099df4cd88507fab42c32601b6068b3ade48118
parent d01caa20
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