Merge "Maybe fix issue #2568615: System server crashed in SyncStorageEngine" into froyo
This commit is contained in:
committed by
Android (Google) Code Review
commit
4e7cacd3e4
@@ -330,11 +330,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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user