Skip to content

Commit

Permalink
Fix comment little bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
hotchemi committed Sep 25, 2016
1 parent 18426fc commit fe2cbc9
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -141,7 +141,7 @@ abstract class BaseProcessorUnit : ProcessorUnit {
val requestCodeField = requestCodeFieldName(needsMethod)
val permissionField = permissionFieldName(needsMethod)

// if maxSdkVersion is lower than os level don't check permission
// if maxSdkVersion is lower than os level does nothing
val needsPermissionMaxSdkVersion = needsMethod.getAnnotation(NeedsPermission::class.java).maxSdkVersion
if (needsPermissionMaxSdkVersion > 0) {
builder.beginControlFlow("if (\$T.VERSION.SDK_INT > \$L)", BUILD, needsPermissionMaxSdkVersion)
Expand Down

0 comments on commit fe2cbc9

Please sign in to comment.