UsbDebuggingManager: remove log spam when disconnecting USB

Bug: 15112047
Change-Id: Ia07895ee166fa87c88d0443f0745bc9384dac10c
This commit is contained in:
Mike Lockwood
2014-06-05 08:24:16 -07:00
parent 85e5f85f2e
commit 2471e02c19

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();
}