Skip to content

Commit d9ec61a

Browse files
committed
see 03/08 log
1 parent 4887446 commit d9ec61a

File tree

9 files changed

+15
-10
lines changed

9 files changed

+15
-10
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.13.1-brightgreen.svg
44+
[aucsvg]: https://img.shields.io/badge/AndroidUtilCode-v1.13.2-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 ptoject helps you a lot, and you would like to support this ptoject's fu
4141

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

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

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.blankj.androidutilcode;
22

3+
import android.annotation.SuppressLint;
34
import android.app.AlarmManager;
45
import android.app.PendingIntent;
56
import android.content.Context;
@@ -73,6 +74,7 @@ public void run() {
7374

7475
}
7576

77+
@SuppressLint("MissingPermission")
7678
private void initCrash() {
7779
CrashUtils.init(new CrashUtils.OnCrashListener() {
7880
@Override

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ ext {
3535
min_sdk_version = 14
3636
target_sdk_version = 26
3737

38-
version_code = 1_013_001
39-
version_name = '1.13.1'// E.g 1.9.72 => 1,009,072
38+
version_code = 1_013_002
39+
version_name = '1.13.2'// E.g 1.9.72 => 1,009,072
4040

4141
// App dependencies
4242
support_version = '26.1.0'

update_log.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* 18/03/08 新增反射获取栈顶 Activity 的方法,发布 1.13.2 版本
2+
* 18/03/07 修复 PermissionUtils 请求权限为 0 的 崩溃
13
* 18/03/05 修复 Library Source does not match the bytecode for class LogUtils 问题,发布 1.13.1 版本
24
* 18/03/04 完善 Javadoc 中文版为英文版,发布 1.13.0 版本
35
* 18/03/04 完善 Javadoc 中文版为英文版

utilcode/README-CN.md

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

33
Gradle:
44
```groovy
5-
compile 'com.blankj:utilcode:1.13.1'
5+
compile 'com.blankj:utilcode:1.13.2'
66
```
77

88

utilcode/README.md

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

33
Gradle:
44
```groovy
5-
compile 'com.blankj:utilcode:1.13.1'
5+
compile 'com.blankj:utilcode:1.13.2'
66
```
77

88

utilcode/src/main/java/com/blankj/utilcode/util/PermissionUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
298298
}
299299
if (sInstance.mPermissionsRequest != null) {
300300
int size = sInstance.mPermissionsRequest.size();
301+
if (size <= 0) return;
301302
requestPermissions(sInstance.mPermissionsRequest.toArray(new String[size]), 1);
302303
}
303304
}

utilcode/src/main/res/values-v21/styles.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<resources>
33

44
<style name="ActivityTranslucent">
5+
<item name="android:background">@android:color/transparent</item>
56
<item name="android:windowBackground">@android:color/transparent</item>
67
<item name="android:colorBackgroundCacheHint">@null</item>
78
<item name="android:windowIsTranslucent">true</item>
9+
<item name="android:windowActionBar">false</item>
810
<item name="android:windowNoTitle">true</item>
911
<item name="android:windowContentOverlay">@null</item>
10-
<item name="android:activityOpenEnterAnimation">@null</item>
11-
<item name="android:activityOpenExitAnimation">@null</item>
12-
<item name="android:activityCloseEnterAnimation">@null</item>
13-
<item name="android:activityCloseExitAnimation">@null</item>
12+
<item name="android:windowAnimationStyle">@android:style/Animation</item>
1413
<item name="android:statusBarColor">@android:color/transparent</item>
14+
<item name="android:backgroundDimEnabled">false</item>
1515
</style>
1616
</resources>

0 commit comments

Comments
 (0)