Compare commits

..

4 Commits

Author SHA1 Message Date
61b7afa4b5 <powerbell>APK 15.14.20 release Publish. 2025-12-22 10:25:46 +08:00
8e4c7a6832 添加位图缓存 2025-12-22 10:24:29 +08:00
d29068b029 <powerbell>APK 15.14.19 release Publish. 2025-12-22 10:20:01 +08:00
51963f8e0f 优化启动界面显示 2025-12-22 10:18:28 +08:00
3 changed files with 8 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Mon Dec 22 10:04:49 HKT 2025
stageCount=19
#Mon Dec 22 10:25:46 HKT 2025
stageCount=21
libraryProject=
baseVersion=15.14
publishVersion=15.14.18
publishVersion=15.14.20
buildCount=0
baseBetaVersion=15.14.19
baseBetaVersion=15.14.21

View File

@@ -149,6 +149,8 @@ public class App extends GlobalApplication {
super.onTrimMemory(level);
LogUtils.d(TAG, "onTrimMemory() 调用内存等级level" + level);
sMemoryCachedBackgroundView.clearAllCache();
sBitmapCacheUtils.clearAllCache();
sBitmapCacheUtils = BitmapCacheUtils.getInstance();
sMemoryCachedBackgroundView.getLastInstance(this);
//
// // 初始化通知工具(若未初始化)

View File

@@ -149,7 +149,7 @@ public class BackgroundView extends RelativeLayout {
return;
}
//mIvBackground.setVisibility(View.GONE);
mIvBackground.setVisibility(View.GONE);
// ======================== 新增:路径判断逻辑 ========================
// 1. 路径未变化:直接使用缓存
@@ -269,7 +269,7 @@ public class BackgroundView extends RelativeLayout {
params.height = ivHeight;
mIvBackground.setLayoutParams(params);
mIvBackground.setScaleType(ScaleType.FIT_CENTER);
//mIvBackground.setVisibility(View.VISIBLE);
mIvBackground.setVisibility(View.VISIBLE);
}
}