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

Commit bcd1d7f6 authored by Chandan Nath's avatar Chandan Nath Committed by Android (Google) Code Review
Browse files

Merge "Remove unnecessary synchronized block"

parents f7f94e34 6b19ce6f
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2538,7 +2538,6 @@ public class UserBackupManagerService {
                KeyValueBackupJob.schedule(mUserId, mContext, mConstants);
            } else {
                if (DEBUG) Slog.v(TAG, "Scheduling immediate backup pass");
                synchronized (mQueueLock) {
                    // Fire the intent that kicks off the whole shebang...
                    try {
                        mRunBackupIntent.send();
@@ -2546,11 +2545,9 @@ public class UserBackupManagerService {
                        // should never happen
                        Slog.e(TAG, "run-backup intent cancelled!");
                    }

                    // ...and cancel any pending scheduled job, because we've just superseded it
                    KeyValueBackupJob.cancel(mUserId, mContext);
            }
            }
        } finally {
            Binder.restoreCallingIdentity(oldId);
        }