am e32b2a5d: Merge "Write new wallpaper files from scratch..." into lmp-dev

* commit 'e32b2a5d2bdc3c8fd4caa00437d5616e3535d601':
  Write new wallpaper files from scratch...
This commit is contained in:
Christopher Tate
2014-09-12 07:20:52 +00:00
committed by Android Git Automerger

View File

@@ -843,7 +843,7 @@ public class WallpaperManagerService extends IWallpaperManager.Stub {
}
File file = new File(dir, WALLPAPER);
ParcelFileDescriptor fd = ParcelFileDescriptor.open(file,
MODE_CREATE|MODE_READ_WRITE);
MODE_CREATE|MODE_READ_WRITE|MODE_TRUNCATE);
if (!SELinux.restorecon(file)) {
return null;
}