Merge "UsbDebuggingManager: remove log spam when disconnecting USB"

This commit is contained in:
Mike Lockwood
2014-06-05 15:34:48 +00:00
committed by Android (Google) Code Review

View File

@@ -84,7 +84,6 @@ public class UsbDebuggingManager implements Runnable {
while (true) {
int count = inputStream.read(buffer);
if (count < 0) {
Slog.e(TAG, "got " + count + " reading");
break;
}
@@ -100,9 +99,6 @@ public class UsbDebuggingManager implements Runnable {
break;
}
}
} catch (IOException ex) {
Slog.e(TAG, "Communication error: ", ex);
throw ex;
} finally {
closeSocket();
}