Revert "Correct strict-mode fix CL"

This reverts commit 87a7f84580.
This commit is contained in:
Marc Blank 2010-10-27 17:12:49 -07:00
parent 87a7f84580
commit dac9c15266
1 changed files with 2 additions and 2 deletions

View File

@ -1788,7 +1788,7 @@ public class ExchangeService extends Service implements Runnable {
synchronized (sSyncLock) {
// Start our thread...
// See if there are any EAS accounts; otherwise, just go away
if (sServiceThread != null && sServiceThread.isAlive()) {
if (sServiceThread != null || sServiceThread.isAlive()) {
return;
}
}
@ -1801,7 +1801,7 @@ public class ExchangeService extends Service implements Runnable {
WHERE_PROTOCOL_EAS, null) > 0) {
log(sServiceThread == null ? "Starting thread..."
: "Restarting thread...");
sServiceThread = new Thread(service, "ExchangeService");
sServiceThread = new Thread(this, "ExchangeService");
INSTANCE = service;
sServiceThread.start();
}