am f2147b18: Merge change 25159 into eclair

Merge commit 'f2147b183414d4ffc754c95e101c9a64a53c4a40' into eclair-plus-aosp

* commit 'f2147b183414d4ffc754c95e101c9a64a53c4a40':
  Fix EAS sending (#2122221)
This commit is contained in:
Marc Blank 2009-09-15 16:28:42 -07:00 committed by Android Git Automerger
commit 1fd13dc9fb

View File

@ -131,7 +131,7 @@ public class EasSyncService extends AbstractSyncService {
public String mUserName;
public String mPassword;
private boolean mSsl = true;
private boolean mTrustSsl = false;
private boolean mTrustSsl = false;
public ContentResolver mContentResolver;
private String[] mBindArguments = new String[2];
private ArrayList<String> mPingChangeList;
@ -422,7 +422,7 @@ public class EasSyncService extends AbstractSyncService {
String extra = null;
boolean msg = false;
if (cmd.startsWith("SmartForward&") || cmd.startsWith("SmartReply&")) {
int cmdLength = cmd.length() - 1;
int cmdLength = cmd.indexOf('&');
extra = cmd.substring(cmdLength);
cmd = cmd.substring(0, cmdLength);
msg = true;