Closed
Description
版本变更
1.27.x 重构版本经过多次的 BUG 修复已趋于稳定,欢迎大家使用 1.28.x。
- 最新版本:1.29.0
- 1.28.0 版本变更详情: https://github.com/Blankj/AndroidUtilCode/releases/tag/1.28.0
- 1.28.1
- 修复 ImageUtils的getBitmap(final InputStream is, final int maxWidth, final int maxHeight)方法有OOM的风险
- 修复 PermissionUtils#callback 获取 topActivity 为 TransActivity
- 修复 FileUtils#listFilesInDir(final String dirPath, Comparator comparator) 没有使用 comparator 参数.
- 1.28.2
- 修复 ImageUtils#isImage 不正确的 BUG
- 修复 UriUtils#uri2File 不支持华为、Unknown URI 的 BUG
- 使用黑科技让 SnackbarUtils 支持从顶部弹出
- 修复 TransActivity 不支持小于 SDK 21 的 BUG
- GsonUtils 去掉判空注解
- 1.28.3
- 修复 tinker 适配问题,tinker 需要自己手动调用 Utils#init
- 1.28.4
- 修复 LanguageUtils.applyLanguage(locale)方法未生效
- 修复 BarUtils#isNavBarVisible
- 1.28.5
- 修复 FileUtils#copyOrMoveDird NPE
- IntentUtils#getLaunchAppDetailsSettingsIntent support isNewTask
- 新增 ImageUtils#save2Album, NetworkUtils#getSSID, UtilsTransActivity4MainProcess
- Publish bus plugin v2.6. Publish api plugin v1.4.
- 1.28.6
- 修复 BusUtils#postSticky 如果存在相同 tag 多次重复 post 的 bug
- 新增 IntentUtils#getInstallAppIntent 支持 uri 参数
- 1.29.0
- 修复 IntentUtils#getInstallAppIntent 文件是否存在判断写反的 bug
BUG 描述模板
拷贝如下模板到下方来提交 BUG
## 描述 Bug 简洁地描述下 Bug。 - AndroidUtilCode 的版本:例如 utilcode:1.28.0 或 utilcodex:1.28.0 - 出现 Bug 的设备型号: 例如 Nexus 5X - 设备的 Android 版本:例如 API 27 ## 相关代码 ``` put your code here ``` ## 异常堆栈 ``` put the stack of crash here ``` ## 截图 如果有的话请添加屏幕截图以帮助解释问题。