am 4e7cacd3: Merge "Maybe fix issue #2568615: System server crashed in SyncStorageEngine" into froyo
Merge commit '4e7cacd3e44bd222a7892113336caff571a9983a' into froyo-plus-aosp * commit '4e7cacd3e44bd222a7892113336caff571a9983a': Maybe fix issue #2568615: System server crashed in SyncStorageEngine
This commit is contained in:
@@ -330,11 +330,11 @@ public class SyncStorageEngine extends Handler {
|
|||||||
|
|
||||||
@Override public void handleMessage(Message msg) {
|
@Override public void handleMessage(Message msg) {
|
||||||
if (msg.what == MSG_WRITE_STATUS) {
|
if (msg.what == MSG_WRITE_STATUS) {
|
||||||
synchronized (mAccounts) {
|
synchronized (mAuthorities) {
|
||||||
writeStatusLocked();
|
writeStatusLocked();
|
||||||
}
|
}
|
||||||
} else if (msg.what == MSG_WRITE_STATISTICS) {
|
} else if (msg.what == MSG_WRITE_STATISTICS) {
|
||||||
synchronized (mAccounts) {
|
synchronized (mAuthorities) {
|
||||||
writeStatisticsLocked();
|
writeStatisticsLocked();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user