diff --git a/CZBaseDevTool/src/main/java/com/xinyi/czbasedevtool/base/manager/PermissionManager.java b/CZBaseDevTool/src/main/java/com/xinyi/czbasedevtool/base/manager/PermissionManager.java index dcae2e5..e12a0cc 100644 --- a/CZBaseDevTool/src/main/java/com/xinyi/czbasedevtool/base/manager/PermissionManager.java +++ b/CZBaseDevTool/src/main/java/com/xinyi/czbasedevtool/base/manager/PermissionManager.java @@ -65,7 +65,7 @@ public List getNotPassedPermissions(Context context, List planT List result = null; for(String plan : planToRequestPermissions){ - if(ContextCompat.checkSelfPermission(context, plan) == PackageManager.PERMISSION_DENIED){ + if(ContextCompat.checkSelfPermission(context, plan) != PackageManager.PERMISSION_GRANTED){ if(result == null){ result = new ArrayList<>(); } diff --git a/CZBaseDevTool/src/main/java/com/xinyi/czbasedevtool/base/manager/ui_about/GlideMaster.java b/CZBaseDevTool/src/main/java/com/xinyi/czbasedevtool/base/manager/ui_about/GlideMaster.java index 47a9a62..9e7ccef 100644 --- a/CZBaseDevTool/src/main/java/com/xinyi/czbasedevtool/base/manager/ui_about/GlideMaster.java +++ b/CZBaseDevTool/src/main/java/com/xinyi/czbasedevtool/base/manager/ui_about/GlideMaster.java @@ -65,5 +65,8 @@ public static void display(Context mContext, String url, final ImageView img, Re // } // } // }); + + + } }