Merge change 26964 into eclair

* changes:
  Run sync threads in background priority (helps with #2126515)
This commit is contained in:
Android (Google) Code Review 2009-09-25 12:23:16 -04:00
commit af30d6cfac

View File

@ -1032,6 +1032,7 @@ public class EasSyncService extends AbstractSyncService {
mMailbox = Mailbox.restoreMailboxWithId(mContext, mMailbox.mId);
mThread = Thread.currentThread();
android.os.Process.setThreadPriority(android.os.Process.THREAD_PRIORITY_BACKGROUND);
TAG = mThread.getName();
HostAuth ha = HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeyRecv);