Skip to content

Commit

Permalink
1、修复了申请manifest时,6.0以下的版本会有遮挡框的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zincPower committed Jun 12, 2018
1 parent 8ab8f2b commit 5f9b256
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ public void canceled(int requestCode) {
* @version
*/
public static void requestAllPermission(Context context, List<String> excluedPermission, IPermission iPermission) {

//如果小于 6.0 不进行逻辑处理
if(Build.VERSION.SDK_INT <= Build.VERSION_CODES.M){
return;
}

String[] manifestPermission = JPermissionHelper.getManifestPermission(context);

if (manifestPermission == null) {
Expand Down

0 comments on commit 5f9b256

Please sign in to comment.