Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
喻凯 committed Mar 25, 2020
1 parent 2602f2a commit 39a7f7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion permission/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ group = "com.paozhuanyinyu"
//发布到JCenter上的项目名字,必须填写
def libName = "XPermission"
// 版本号,下次更新是只需要更改版本号即可
version = "1.1.9"
version = "1.2.0"
/** 上面配置后上传至jcenter后的编译路径是这样的: compile 'cn.bluemobi.dylan:sqlitelibrary:1.0' **/

//生成源文件
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import android.Manifest;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageManager;
Expand All @@ -27,7 +28,7 @@
* Created by Administrator on 2017/11/3.
*/

public class XPermissionActivity extends AppCompatActivity {
public class XPermissionActivity extends Activity {
private static final int PERMISSIONS_REQUEST_CODE = 42;
private static final int GO_TO_SETTINGS_REQUEST_CODE = 43;
// Contains all the current permission requests.
Expand Down
2 changes: 1 addition & 1 deletion permission/src/main/res/values/xpermission_style.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
-->
<resources xmlns:tools="http://schemas.android.com/tools">

<style name="permission_PermissionActivity" parent="Theme.AppCompat">
<style name="permission_PermissionActivity" parent="@android:style/Theme.Translucent.NoTitleBar">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowIsTranslucent">true</item>
</style>
Expand Down

0 comments on commit 39a7f7b

Please sign in to comment.