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

Commit f3fa819f authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Correctly truncate file on wallpaper update." into gingerbread

parents dcec83b1 75690f47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -446,7 +446,7 @@ class WallpaperManagerService extends IWallpaperManager.Stub {
        if (name == null) name = "";
        try {
            ParcelFileDescriptor fd = ParcelFileDescriptor.open(WALLPAPER_FILE,
                    MODE_CREATE|MODE_READ_WRITE);
                    MODE_CREATE|MODE_READ_WRITE|MODE_TRUNCATE);
            mName = name;
            return fd;
        } catch (FileNotFoundException e) {