Merge change 26964 into eclair
* changes: Run sync threads in background priority (helps with #2126515)
This commit is contained in:
commit
af30d6cfac
@ -1032,6 +1032,7 @@ public class EasSyncService extends AbstractSyncService {
|
|||||||
mMailbox = Mailbox.restoreMailboxWithId(mContext, mMailbox.mId);
|
mMailbox = Mailbox.restoreMailboxWithId(mContext, mMailbox.mId);
|
||||||
|
|
||||||
mThread = Thread.currentThread();
|
mThread = Thread.currentThread();
|
||||||
|
android.os.Process.setThreadPriority(android.os.Process.THREAD_PRIORITY_BACKGROUND);
|
||||||
TAG = mThread.getName();
|
TAG = mThread.getName();
|
||||||
|
|
||||||
HostAuth ha = HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeyRecv);
|
HostAuth ha = HostAuth.restoreHostAuthWithId(mContext, mAccount.mHostAuthKeyRecv);
|
||||||
|
Loading…
Reference in New Issue
Block a user