Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mmm-rain
AndroidUtilCode
提交
d9ec61a3
A
AndroidUtilCode
项目概览
mmm-rain
/
AndroidUtilCode
与 Fork 源项目一致
从无法访问的项目Fork
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
AndroidUtilCode
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d9ec61a3
编写于
3月 08, 2018
作者:
B
Blankj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
see 03/08 log
上级
48874460
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
15 addition
and
10 deletion
+15
-10
README-CN.md
README-CN.md
+1
-1
README.md
README.md
+1
-1
app/src/main/java/com/blankj/androidutilcode/UtilsApp.java
app/src/main/java/com/blankj/androidutilcode/UtilsApp.java
+2
-0
build.gradle
build.gradle
+2
-2
update_log.md
update_log.md
+2
-0
utilcode/README-CN.md
utilcode/README-CN.md
+1
-1
utilcode/README.md
utilcode/README.md
+1
-1
utilcode/src/main/java/com/blankj/utilcode/util/PermissionUtils.java
...c/main/java/com/blankj/utilcode/util/PermissionUtils.java
+1
-0
utilcode/src/main/res/values-v21/styles.xml
utilcode/src/main/res/values-v21/styles.xml
+4
-4
未找到文件。
README-CN.md
浏览文件 @
d9ec61a3
...
...
@@ -41,7 +41,7 @@
[
logo
]:
https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
[
aucsvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.13.
1
-brightgreen.svg
[
aucsvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.13.
2
-brightgreen.svg
[
auc
]:
https://github.com/Blankj/AndroidUtilCode
[
apisvg
]:
https://img.shields.io/badge/API-14+-brightgreen.svg
...
...
README.md
浏览文件 @
d9ec61a3
...
...
@@ -41,7 +41,7 @@ If this ptoject helps you a lot, and you would like to support this ptoject's fu
[
logo
]:
https://raw.githubusercontent.com/Blankj/AndroidUtilCode/master/art/logo.png
[
aucsvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.13.
1
-brightgreen.svg
[
aucsvg
]:
https://img.shields.io/badge/AndroidUtilCode-v1.13.
2
-brightgreen.svg
[
auc
]:
https://github.com/Blankj/AndroidUtilCode
[
apisvg
]:
https://img.shields.io/badge/API-14+-brightgreen.svg
...
...
app/src/main/java/com/blankj/androidutilcode/UtilsApp.java
浏览文件 @
d9ec61a3
package
com.blankj.androidutilcode
;
import
android.annotation.SuppressLint
;
import
android.app.AlarmManager
;
import
android.app.PendingIntent
;
import
android.content.Context
;
...
...
@@ -73,6 +74,7 @@ public class UtilsApp extends BaseApplication {
}
@SuppressLint
(
"MissingPermission"
)
private
void
initCrash
()
{
CrashUtils
.
init
(
new
CrashUtils
.
OnCrashListener
()
{
@Override
...
...
build.gradle
浏览文件 @
d9ec61a3
...
...
@@ -35,8 +35,8 @@ ext {
min_sdk_version
=
14
target_sdk_version
=
26
version_code
=
1
_013_00
1
version_name
=
'1.13.
1
'
// E.g 1.9.72 => 1,009,072
version_code
=
1
_013_00
2
version_name
=
'1.13.
2
'
// E.g 1.9.72 => 1,009,072
// App dependencies
support_version
=
'26.1.0'
...
...
update_log.md
浏览文件 @
d9ec61a3
*
18/03/08 新增反射获取栈顶 Activity 的方法,发布 1.13.2 版本
*
18/03/07 修复 PermissionUtils 请求权限为 0 的 崩溃
*
18/03/05 修复 Library Source does not match the bytecode for class LogUtils 问题,发布 1.13.1 版本
*
18/03/04 完善 Javadoc 中文版为英文版,发布 1.13.0 版本
*
18/03/04 完善 Javadoc 中文版为英文版
...
...
utilcode/README-CN.md
浏览文件 @
d9ec61a3
...
...
@@ -2,7 +2,7 @@
Gradle:
```
groovy
compile
'com.blankj:utilcode:1.13.
1
'
compile
'com.blankj:utilcode:1.13.
2
'
```
...
...
utilcode/README.md
浏览文件 @
d9ec61a3
...
...
@@ -2,7 +2,7 @@
Gradle:
```
groovy
compile
'com.blankj:utilcode:1.13.
1
'
compile
'com.blankj:utilcode:1.13.
2
'
```
...
...
utilcode/src/main/java/com/blankj/utilcode/util/PermissionUtils.java
浏览文件 @
d9ec61a3
...
...
@@ -298,6 +298,7 @@ public final class PermissionUtils {
}
if
(
sInstance
.
mPermissionsRequest
!=
null
)
{
int
size
=
sInstance
.
mPermissionsRequest
.
size
();
if
(
size
<=
0
)
return
;
requestPermissions
(
sInstance
.
mPermissionsRequest
.
toArray
(
new
String
[
size
]),
1
);
}
}
...
...
utilcode/src/main/res/values-v21/styles.xml
浏览文件 @
d9ec61a3
...
...
@@ -2,15 +2,15 @@
<resources>
<style
name=
"ActivityTranslucent"
>
<item
name=
"android:background"
>
@android:color/transparent
</item>
<item
name=
"android:windowBackground"
>
@android:color/transparent
</item>
<item
name=
"android:colorBackgroundCacheHint"
>
@null
</item>
<item
name=
"android:windowIsTranslucent"
>
true
</item>
<item
name=
"android:windowActionBar"
>
false
</item>
<item
name=
"android:windowNoTitle"
>
true
</item>
<item
name=
"android:windowContentOverlay"
>
@null
</item>
<item
name=
"android:activityOpenEnterAnimation"
>
@null
</item>
<item
name=
"android:activityOpenExitAnimation"
>
@null
</item>
<item
name=
"android:activityCloseEnterAnimation"
>
@null
</item>
<item
name=
"android:activityCloseExitAnimation"
>
@null
</item>
<item
name=
"android:windowAnimationStyle"
>
@android:style/Animation
</item>
<item
name=
"android:statusBarColor"
>
@android:color/transparent
</item>
<item
name=
"android:backgroundDimEnabled"
>
false
</item>
</style>
</resources>
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录