添加位图缓存

This commit is contained in:
2025-12-22 10:24:29 +08:00
parent d29068b029
commit 8e4c7a6832
2 changed files with 4 additions and 2 deletions

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Mon Dec 22 10:20:00 HKT 2025 #Mon Dec 22 02:21:51 GMT 2025
stageCount=20 stageCount=20
libraryProject= libraryProject=
baseVersion=15.14 baseVersion=15.14
publishVersion=15.14.19 publishVersion=15.14.19
buildCount=0 buildCount=1
baseBetaVersion=15.14.20 baseBetaVersion=15.14.20

View File

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