am 3a88e2c3: am 55a97fc3: Fix attachment loading with "accept certificates" checked

Merge commit '3a88e2c35c274b249b095067ae87f89eaf15906e' into eclair-mr2-plus-aosp

* commit '3a88e2c35c274b249b095067ae87f89eaf15906e':
  Fix attachment loading with "accept certificates" checked
This commit is contained in:
Marc Blank 2009-10-19 10:46:26 -07:00 committed by Android Git Automerger
commit f78c84a72a

View File

@ -295,7 +295,7 @@ public class EasSyncService extends AbstractSyncService {
Attachment att = req.att;
Message msg = Message.restoreMessageWithId(mContext, att.mMessageKey);
doProgressCallback(msg.mId, att.mId, 0);
DefaultHttpClient client = new DefaultHttpClient();
HttpClient client = getHttpClient(COMMAND_TIMEOUT);
String us = makeUriString("GetAttachment", "&AttachmentName=" + att.mLocation);
HttpPost method = new HttpPost(URI.create(us));
method.setHeader("Authorization", mAuthString);