use of com.android.tools.klint.checks.PermissionRequirement in project kotlin by JetBrains.
the class SupportAnnotationDetector method mergeAnnotationPermissions.
@NonNull
private static PermissionHolder mergeAnnotationPermissions(@NonNull PermissionHolder permissions, @Nullable UAnnotation annotation) {
if (annotation != null) {
PermissionRequirement requirement = PermissionRequirement.create(annotation);
permissions = SetPermissionLookup.join(permissions, requirement);
}
return permissions;
}
Aggregations