Merge "Don't throw an exception if write failed"
This commit is contained in:
committed by
Android (Google) Code Review
commit
11468cdb86
@@ -331,7 +331,7 @@ public final class UiAutomationConnection extends IUiAutomationConnection.Stub {
|
||||
writeTo.flush();
|
||||
}
|
||||
} catch (IOException ioe) {
|
||||
throw new RuntimeException("Error while reading/writing ", ioe);
|
||||
Log.w(TAG, "Error while reading/writing to streams");
|
||||
} finally {
|
||||
IoUtils.closeQuietly(readFrom);
|
||||
IoUtils.closeQuietly(writeTo);
|
||||
|
||||
Reference in New Issue
Block a user