背景图片第二次无法更换的Bug修复。

This commit is contained in:
2025-12-14 18:29:44 +08:00
parent f17624048c
commit 851800e39a
2 changed files with 3 additions and 3 deletions

View File

@@ -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())) {