Support Kotlin implementation for EnforcePermissionDetector
sourcePsi is null for Kotlin implementation. Use javaPsi instead. When resolving the annotation, if "value" (the default parameter name) is not provided, Kotlin uses "null". If that's the case, do the resolution manually. Bug: 430102172 Flag: EXEMPT build infrastructure Test: atest --host AndroidGlobalLintCheckerTest Change-Id: Iec9c50e5ff4eb53deeb83f9e12c8b78c3c4a5cef
Loading
Please register or sign in to comment