summaryrefslogtreecommitdiffstats
path: root/emailcommon
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2015-04-19 22:41:31 +0200
committerMichael Bestas <mikeioannina@gmail.com>2016-12-30 20:15:19 +0200
commit1099eb6d27d234a5c7e6036510ad2701b0ebcd69 (patch)
tree0c14c3d5176a255ad5fc75cfa4372fadab91918b /emailcommon
parent887f11524b42a6c253b4d7d0f9525daa8cd1daa5 (diff)
downloadandroid_packages_apps_Email-1099eb6d27d234a5c7e6036510ad2701b0ebcd69.tar.gz
android_packages_apps_Email-1099eb6d27d234a5c7e6036510ad2701b0ebcd69.tar.bz2
android_packages_apps_Email-1099eb6d27d234a5c7e6036510ad2701b0ebcd69.zip
email: fix eas autodiscover
Change-Id: Ifaf5f757f7f844e49f0ac635b477fcbef4926293 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'emailcommon')
-rw-r--r--emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java b/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
index 0cfd32e42..aa4058a35 100644
--- a/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
+++ b/emailcommon/src/com/android/emailcommon/service/EmailServiceProxy.java
@@ -52,6 +52,12 @@ public class EmailServiceProxy extends ServiceProxy implements IEmailService {
private static final String TAG = "EmailServiceProxy";
public static final String AUTO_DISCOVER_BUNDLE_ERROR_CODE = "autodiscover_error_code";
+ // This extra contains the autodiscovery error translated to a messaging exception
+ // error code. Our autodiscover service fills this code plus the above one, just because
+ // Gmail and others different clients still check the above one. This is only for our
+ // Email internal implementation
+ public static final String AUTO_DISCOVER_BUNDLE_MESSAGING_ERROR_CODE =
+ "autodiscover_messaging_error_code";
public static final String AUTO_DISCOVER_BUNDLE_HOST_AUTH = "autodiscover_host_auth";
public static final String VALIDATE_BUNDLE_RESULT_CODE = "validate_result_code";