Merge change 25159 into eclair

* changes:
  Fix EAS sending (#2122221)
This commit is contained in:
Android (Google) Code Review 2009-09-15 19:23:40 -04:00
commit f2147b1834

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;