20251127_214905_683 Debugging ...
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Thu Nov 27 13:19:32 GMT 2025
|
||||
#Thu Nov 27 13:48:13 GMT 2025
|
||||
stageCount=11
|
||||
libraryProject=
|
||||
baseVersion=15.11
|
||||
publishVersion=15.11.10
|
||||
buildCount=19
|
||||
buildCount=21
|
||||
baseBetaVersion=15.11.11
|
||||
|
||||
@@ -181,7 +181,8 @@ public class BackgroundPictureActivity extends WinBoLLActivity implements Backgr
|
||||
boolean isUseBackgroundFile = utils.getBackgroundPictureBean().isUseBackgroundFile();
|
||||
LogUtils.d(TAG, String.format("isUseBackgroundFile is %s, _mSourceCroppedFile.exists() is %s ", isUseBackgroundFile, _mSourceCroppedFile.exists()));
|
||||
|
||||
if (isUseBackgroundFile && _mSourceCroppedFile.exists()) {
|
||||
//if (isUseBackgroundFile && _mSourceCroppedFile.exists()) {
|
||||
if (_mSourceCroppedFile.exists()) {
|
||||
//try {
|
||||
//String filePath = utils.getBackgroundDir() + getBackgroundFileName();
|
||||
preViewFilePathBackgroundView = _mSourceCroppedFilePath;
|
||||
@@ -217,7 +218,9 @@ public class BackgroundPictureActivity extends WinBoLLActivity implements Backgr
|
||||
BackgroundPictureBean bean = utils.getBackgroundPictureBean();
|
||||
bean.setIsUseBackgroundFile(false);
|
||||
utils.saveData();
|
||||
updatePreviewBackground();
|
||||
|
||||
preViewFilePathBackgroundView = "";
|
||||
bvPreviewBackground.previewBackgroundImage(preViewFilePathBackgroundView);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -440,10 +443,10 @@ public class BackgroundPictureActivity extends WinBoLLActivity implements Backgr
|
||||
if (success) {
|
||||
//ToastUtils.show("保存成功");
|
||||
// 更新数据
|
||||
BackgroundPictureUtils utils = BackgroundPictureUtils.getInstance(BackgroundPictureActivity.this);
|
||||
BackgroundPictureBean bean = utils.getBackgroundPictureBean();
|
||||
bean.setIsUseBackgroundFile(true);
|
||||
utils.saveData();
|
||||
// BackgroundPictureUtils utils = BackgroundPictureUtils.getInstance(BackgroundPictureActivity.this);
|
||||
// BackgroundPictureBean bean = utils.getBackgroundPictureBean();
|
||||
// bean.setIsUseBackgroundFile(true);
|
||||
// utils.saveData();
|
||||
updatePreviewBackground();
|
||||
} else {
|
||||
ToastUtils.show("图片压缩保存失败");
|
||||
@@ -684,6 +687,10 @@ public class BackgroundPictureActivity extends WinBoLLActivity implements Backgr
|
||||
@Override
|
||||
public void onNo() {
|
||||
isCommitSettings = true;
|
||||
BackgroundPictureUtils utils = BackgroundPictureUtils.getInstance(BackgroundPictureActivity.this);
|
||||
BackgroundPictureBean bean = utils.getBackgroundPictureBean();
|
||||
bean.setIsUseBackgroundFile(!preViewFilePathBackgroundView.equals(""));
|
||||
utils.saveData();
|
||||
finish();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user