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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user