Skip to content

Commit 688442a

Browse files
committed
Merge branch 'master' into androidx
2 parents 783340f + 573843b commit 688442a

6 files changed

Lines changed: 12 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* `20/10/28` [add] Fix BusUtils ConcurrentModificationException. Publish v1.30.3.
12
* `20/10/27` [add] Fix AppUtils#getAppSignatures. Add DeviceUtils#isDevelopmentSettingsEnabled. Publish v1.30.2.
23
* `20/10/26` [add] Fix AppUtils#isAppForeground. Publish v1.30.1.
34
* `20/10/24` [add] Publish v1.30.0.

buildSrc/src/main/groovy/Config.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ class Config {
1414
static compileSdkVersion = 29
1515
static minSdkVersion = 14
1616
static targetSdkVersion = 29
17-
static versionCode = 1_030_002
18-
static versionName = '1.30.2'// E.g. 1.9.72 => 1,009,072
17+
static versionCode = 1_030_003
18+
static versionName = '1.30.3'// E.g. 1.9.72 => 1,009,072
1919

2020
// lib version
2121
static gradlePluginVersion = '3.5.2'

lib/utilcode/README-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
Gradle:
44
```groovy
5-
implementation 'com.blankj:utilcode:1.30.2'
5+
implementation 'com.blankj:utilcode:1.30.3'
66
77
// if u use AndroidX, use the following
8-
implementation 'com.blankj:utilcodex:1.30.2'
8+
implementation 'com.blankj:utilcodex:1.30.3'
99
```
1010

1111

lib/utilcode/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
Gradle:
44
```groovy
5-
implementation 'com.blankj:utilcode:1.30.2'
5+
implementation 'com.blankj:utilcode:1.30.3'
66
77
// if u use AndroidX, use the following
8-
implementation 'com.blankj:utilcodex:1.30.2'
8+
implementation 'com.blankj:utilcodex:1.30.3'
99
```
1010

1111

lib/utilcode/src/main/java/com/blankj/utilcode/util/BusUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import java.lang.annotation.Target;
99
import java.lang.reflect.InvocationTargetException;
1010
import java.lang.reflect.Method;
11-
import java.util.HashMap;
1211
import java.util.HashSet;
1312
import java.util.List;
1413
import java.util.Map;
@@ -357,7 +356,7 @@ private void postStickyInner(final String tag, final Object arg) {
357356
synchronized (mClassName_Tag_Arg4StickyMap) {
358357
Map<String, Object> tagArgMap = mClassName_Tag_Arg4StickyMap.get(busInfo.className);
359358
if (tagArgMap == null) {
360-
tagArgMap = new HashMap<>();
359+
tagArgMap = new ConcurrentHashMap<>();
361360
mClassName_Tag_Arg4StickyMap.put(busInfo.className, tagArgMap);
362361
}
363362
tagArgMap.put(tag, arg);

lib/utildebug/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
afterEvaluate {
2+
verifyReleaseResources.enabled(false)
3+
}
4+
15
dependencies {
26
compileOnly Config.depConfig.androidx_appcompat.dep
37
compileOnly Config.depConfig.androidx_material.dep

0 commit comments

Comments
 (0)