diff --git a/lib.permission/src/main/java/com/zinc/libpermission/utils/JPermissionUtil.java b/lib.permission/src/main/java/com/zinc/libpermission/utils/JPermissionUtil.java index a818736..e6d816d 100644 --- a/lib.permission/src/main/java/com/zinc/libpermission/utils/JPermissionUtil.java +++ b/lib.permission/src/main/java/com/zinc/libpermission/utils/JPermissionUtil.java @@ -152,6 +152,12 @@ public void canceled(int requestCode) { * @version */ public static void requestAllPermission(Context context, List excluedPermission, IPermission iPermission) { + + //如果小于 6.0 不进行逻辑处理 + if(Build.VERSION.SDK_INT <= Build.VERSION_CODES.M){ + return; + } + String[] manifestPermission = JPermissionHelper.getManifestPermission(context); if (manifestPermission == null) {