Merge "Only log exceptions if the IpReachabilityMonitor is still running."

This commit is contained in:
Erik Kline
2015-10-01 13:06:44 +00:00
committed by Android (Google) Code Review

View File

@@ -423,7 +423,7 @@ public class IpReachabilityMonitor {
try {
byteBuffer = recvKernelReply();
} catch (ErrnoException e) {
Log.w(TAG, "ErrnoException: ", e);
if (stillRunning()) { Log.w(TAG, "ErrnoException: ", e); }
break;
}
final long whenMs = SystemClock.elapsedRealtime();