am af30d6cf: Merge change 26964 into eclair

Merge commit 'af30d6cfacf0947d98ef1c9da2c5b5e06f7fc8f6' into eclair-plus-aosp

* commit 'af30d6cfacf0947d98ef1c9da2c5b5e06f7fc8f6':
  Run sync threads in background priority (helps with #2126515)
This commit is contained in:
Marc Blank 2009-09-25 09:29:07 -07:00 committed by Android Git Automerger
commit df3a32b91c

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);