Merge commit 'f78c84a72ae664958c478243c59c36c77d7feacb' * commit 'f78c84a72ae664958c478243c59c36c77d7feacb': Fix attachment loading with "accept certificates" checked
This commit is contained in:
commit
b5c1a6652c
@ -295,7 +295,7 @@ public class EasSyncService extends AbstractSyncService {
|
|||||||
Attachment att = req.att;
|
Attachment att = req.att;
|
||||||
Message msg = Message.restoreMessageWithId(mContext, att.mMessageKey);
|
Message msg = Message.restoreMessageWithId(mContext, att.mMessageKey);
|
||||||
doProgressCallback(msg.mId, att.mId, 0);
|
doProgressCallback(msg.mId, att.mId, 0);
|
||||||
DefaultHttpClient client = new DefaultHttpClient();
|
HttpClient client = getHttpClient(COMMAND_TIMEOUT);
|
||||||
String us = makeUriString("GetAttachment", "&AttachmentName=" + att.mLocation);
|
String us = makeUriString("GetAttachment", "&AttachmentName=" + att.mLocation);
|
||||||
HttpPost method = new HttpPost(URI.create(us));
|
HttpPost method = new HttpPost(URI.create(us));
|
||||||
method.setHeader("Authorization", mAuthString);
|
method.setHeader("Authorization", mAuthString);
|
||||||
|
Loading…
Reference in New Issue
Block a user