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
Loading
Please register or sign in to comment