Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e7cacd3 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android (Google) Code Review
Browse files

Merge "Maybe fix issue #2568615: System server crashed in SyncStorageEngine" into froyo

parents 8258fda1 4e80820a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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();
            }
        }