Don't throw an exception if write failed
When passing input/output streams between shell command and caller via UiAutomation, the stream could be closed by the instrumentation test. Don't throw an exception if the write failed (due to race). Just log the error. Change-Id: I601589c6dc36fe51f5cc57276084a11f0be3d57d Fixes: 119848628 Test: atest CtsAppTestCases:ActivityManagerProcessStateTest
Loading
Please register or sign in to comment