am 55a97fc3
: Fix attachment loading with "accept certificates" checked
Merge commit '55a97fc360ac549631af3aa3aad9833812674562' into eclair-plus-aosp * commit '55a97fc360ac549631af3aa3aad9833812674562': Fix attachment loading with "accept certificates" checked
This commit is contained in:
commit
90499a5415
@ -289,7 +289,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);
|
||||
|
Loading…
Reference in New Issue
Block a user