Skip to content

Commit 07925ad

Browse files
committed
see 08/09 log
1 parent 205943d commit 07925ad

File tree

13 files changed

+45
-34
lines changed

13 files changed

+45
-34
lines changed

README-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
[logo]: https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
4343

44-
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.18.5-brightgreen.svg
44+
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.18.6-brightgreen.svg
4545
[auc]: https://github.com/Blankj/AndroidUtilCode
4646

4747
[apisvg]: https://img.shields.io/badge/API-14+-brightgreen.svg

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ If this project helps you a lot and you want to support the project's developmen
4141

4242
[logo]: https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
4343

44-
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.18.5-brightgreen.svg
44+
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.18.6-brightgreen.svg
4545
[auc]: https://github.com/Blankj/AndroidUtilCode
4646

4747
[apisvg]: https://img.shields.io/badge/API-14+-brightgreen.svg

apk/output.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1018005,"versionName":"1.18.5","enabled":true,"outputFile":"util_1_18_5.apk","fullName":"release","baseName":"release"},"path":"util_1_18_5.apk","properties":{}}]
1+
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1018006,"versionName":"1.18.6","enabled":true,"outputFile":"util_1_18_6.apk","fullName":"release","baseName":"release"},"path":"util_1_18_6.apk","properties":{}}]
Binary file not shown.

app/src/main/java/com/blankj/androidutilcode/UtilsApp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void initLog() {
6363
.setLogHeadSwitch(true)// 设置 log 头信息开关,默认为开
6464
.setLog2FileSwitch(false)// 打印 log 时是否存到文件的开关,默认关
6565
.setDir("")// 当自定义路径为空时,写入应用的/cache/log/目录中
66-
.setFilePrefix("")// 当文件前缀为空时,默认为"util",即写入文件为"util-MM-dd.txt"
66+
.setFilePrefix("")// 当文件前缀为空时,默认为"util",即写入文件为"util-yyyy-MM-dd.txt"
6767
.setBorderSwitch(true)// 输出日志是否带边框开关,默认开
6868
.setSingleTagSwitch(true)// 一条日志仅输出一条,默认开,为美化 AS 3.1 的 Logcat
6969
.setConsoleFilter(LogUtils.V)// log 的控制台过滤器,和 logcat 过滤器同理,默认 Verbose

app/src/main/java/com/blankj/androidutilcode/feature/core/toast/ToastActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import android.support.v4.content.ContextCompat;
99
import android.view.Gravity;
1010
import android.view.View;
11+
import android.widget.Toast;
1112

1213
import com.blankj.androidutilcode.R;
1314
import com.blankj.androidutilcode.base.BaseBackActivity;

config.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ ext {
66
compileSdkVersion: 27,
77
minSdkVersion : 14,
88
targetSdkVersion : 27,
9-
versionCode : 1_018_005,
10-
versionName : '1.18.5'// E.g 1.9.72 => 1,009,072
9+
versionCode : 1_018_006,
10+
versionName : '1.18.6'// E.g 1.9.72 => 1,009,072
1111
]
1212

1313
versionConfig = [
@@ -167,7 +167,7 @@ def configAppDependencies(Project pro) {
167167
// LeakCanary
168168
debugImplementation depConfig.leakcanary.android
169169
releaseImplementation depConfig.leakcanary.android_no_op
170-
// implementation 'com.blankj:utilcode:1.18.5'
170+
// implementation 'com.blankj:utilcode:1.18.6'
171171
}
172172
}
173173

update_log.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* 18/08/09 新增 IntentUtils#isIntentAvailable,ToastUtils 传入空显示 null,发布 1.18.6
12
* 18/08/08 修复 ScreenUtils#adaptxx 在第三方 SDK 会出现的问题,发布 1.18.5
23
* 18/08/07 修复 ScreenUtils#adaptxx 在 API 26 以下无效的 bug,发布 1.18.4
34
* 18/08/06 修复 ScreenUtils#screenShot 中 decorView.getDrawingCache() 为空的问题,发布 1.18.3

utilcode/README-CN.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gradle:
44
```groovy
5-
implementation 'com.blankj:utilcode:1.18.5'
5+
implementation 'com.blankj:utilcode:1.18.6'
66
```
77

88

@@ -347,6 +347,7 @@ compressBySampleSize : 按采样大小压缩
347347

348348
* ### 意图相关 -> [IntentUtils.java][intent.java]
349349
```
350+
isIntentAvailable : 判断意图是否可用
350351
getInstallAppIntent : 获取安装 App(支持 6.0)的意图
351352
getUninstallAppIntent : 获取卸载 App 的意图
352353
getLaunchAppIntent : 获取打开 App 的意图

utilcode/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Gradle:
44
```groovy
5-
implementation 'com.blankj:utilcode:1.18.5'
5+
implementation 'com.blankj:utilcode:1.18.6'
66
```
77

88

@@ -347,6 +347,7 @@ compressBySampleSize
347347

348348
* ### About Intent -> [IntentUtils.java][intent.java]
349349
```
350+
isIntentAvailable
350351
getInstallAppIntent
351352
getUninstallAppIntent
352353
getLaunchAppIntent

0 commit comments

Comments
 (0)