am 7aed1e14: am d66e2b23: am 4e7cacd3: Merge "Maybe fix issue #2568615: System server crashed in SyncStorageEngine" into froyo

This commit is contained in:
Dianne Hackborn
2010-04-07 12:03:05 -07:00
committed by Android Git Automerger

View File

@@ -332,11 +332,11 @@ public class SyncStorageEngine extends Handler {
@Override public void handleMessage(Message msg) {
if (msg.what == MSG_WRITE_STATUS) {
synchronized (mAccounts) {
synchronized (mAuthorities) {
writeStatusLocked();
}
} else if (msg.what == MSG_WRITE_STATISTICS) {
synchronized (mAccounts) {
synchronized (mAuthorities) {
writeStatisticsLocked();
}
}