am a5f48345: Merge "Handle IoException Properly" into jb-ub-mail-ur10
* commit 'a5f483450e0423fdf66393550497c5b396223d3f':
Handle IoException Properly
diff --git a/src/com/android/exchange/eas/EasOperation.java b/src/com/android/exchange/eas/EasOperation.java
index 9ac721b..6f78134 100644
--- a/src/com/android/exchange/eas/EasOperation.java
+++ b/src/com/android/exchange/eas/EasOperation.java
@@ -44,7 +44,6 @@
import org.apache.http.entity.ByteArrayEntity;
import java.io.IOException;
-import java.util.Locale;
/**
* Base class for all Exchange operations that use a POST to talk to the server.
@@ -222,9 +221,9 @@
} catch (final IOException e) {
LogUtils.e(LOG_TAG, e, "Exception while handling response");
if (syncResult != null) {
- ++syncResult.stats.numParseExceptions;
+ ++syncResult.stats.numIoExceptions;
}
- return RESULT_OTHER_FAILURE;
+ return RESULT_REQUEST_FAILURE;
}
} else {
result = RESULT_OTHER_FAILURE;