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

Commit fb85bc66 authored by Brad Fitzpatrick's avatar Brad Fitzpatrick Committed by Android (Google) Code Review
Browse files

Merge "Add missing wallpaper service lock." into gingerbread

parents 52e19d59 194b19a4
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -727,6 +727,7 @@ class WallpaperManagerService extends IWallpaperManager.Stub {
        }
    }

    // Called by SystemBackupAgent after files are restored to disk.
    void settingsRestored() {
        if (DEBUG) Slog.v(TAG, "settingsRestored");

@@ -766,8 +767,11 @@ class WallpaperManagerService extends IWallpaperManager.Stub {
            mName = "";
            WALLPAPER_FILE.delete();
        }

        synchronized (mLock) {
            saveSettingsLocked();
        }
    }

    boolean restoreNamedResourceLocked() {
        if (mName.length() > 4 && "res:".equals(mName.substring(0, 4))) {