version:2.0.7

bugfixes:修复闹钟黑屏
update:增加报时亮屏,优化闹钟排序,显示优化
This commit is contained in:
2025-02-10 17:04:15 +08:00
parent 17a9c60979
commit e4ce6a79c0
21 changed files with 318 additions and 121 deletions

View File

@@ -454,7 +454,13 @@ public class CacheHelper {
String cachePath;
if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())
|| !Environment.isExternalStorageRemovable()) {
cachePath = context.getExternalCacheDir().getPath();
if (context.getExternalCacheDir() != null) {
cachePath = context.getExternalCacheDir().getPath();
} else if (context.getExternalFilesDir("cache") != null) {
cachePath = context.getExternalFilesDir("cache").getPath();
} else {
cachePath = context.getCacheDir().getPath();
}
} else {
cachePath = context.getCacheDir().getPath();
}