Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 583fe724 authored by Thiébaud Weksteen's avatar Thiébaud Weksteen
Browse files

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
parent 0ab05452
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment