summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-12-10 22:12:27 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-12-10 22:12:27 +0000
commit11468cdb86e09656bd99bcae4312825d776fd737 (patch)
tree51277a3bb260a161b90d601b787a21fbf779cf67 /core/java
parente266f4682c1eba966da979f78caa6a6571f218f8 (diff)
parent6283cb89aea04956592356fb3e672f467f07cdfe (diff)
Merge "Don't throw an exception if write failed"
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/UiAutomationConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/UiAutomationConnection.java b/core/java/android/app/UiAutomationConnection.java
index dc2f9838785c..31521a369a4c 100644
--- a/core/java/android/app/UiAutomationConnection.java
+++ b/core/java/android/app/UiAutomationConnection.java
@@ -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);