PermissionX icon indicating copy to clipboard operation
PermissionX copied to clipboard

1.7.1版本 这里的代码逻辑跟注释逻辑不一致

Open wwwangweiwei123 opened this issue 2 years ago • 0 comments

PermissionMediator.kt

if (PermissionX.permission.POST_NOTIFICATIONS in specialPermissionSet) { if (osVersion >= Build.VERSION_CODES.TIRAMISU && targetSdkVersion >= Build.VERSION_CODES.TIRAMISU) { // If we request POST_NOTIFICATIONS on TIRAMISU or above and targetSdkVersion >= TIRAMISU, // We don't need to request specially, just request as normal permission. specialPermissionSet.remove(PermissionX.permission.POST_NOTIFICATIONS) normalPermissionSet.add(PermissionX.permission.POST_NOTIFICATIONS) } } 这里是不是应该是or?

wwwangweiwei123 avatar May 25 '23 07:05 wwwangweiwei123