背景图片第二次无法更换的Bug修复。
This commit is contained in:
@@ -235,7 +235,7 @@ public class BackgroundSourceUtils {
|
||||
String fileSuffix = UriUtils.getSuffixFromUri(mContext, uri);
|
||||
LogUtils.d(TAG, String.format("createAndUpdatePreviewEnvironmentForCropping: fileSuffix = %s", fileSuffix));
|
||||
String newCropFileName = genNewCropFileName();
|
||||
mCropSourceFile = new File(fCropCacheDir, newCropFileName + File.separator + fileSuffix);
|
||||
mCropSourceFile = new File(fCropCacheDir, newCropFileName + "." + fileSuffix);
|
||||
mCropResultFile = new File(fCropCacheDir, "SelectCompress_" + newCropFileName + ".png");
|
||||
|
||||
if (FileUtils.isFileExists(oldPreviewBackgroundBean.getBackgroundScaledCompressFilePath())) {
|
||||
|
||||
Reference in New Issue
Block a user