diff options
Diffstat (limited to 'java/lint.go')
-rw-r--r-- | java/lint.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/lint.go b/java/lint.go index 095323625..5a684a8c0 100644 --- a/java/lint.go +++ b/java/lint.go @@ -660,7 +660,7 @@ func (l *lintSingleton) generateLintReportZips(ctx android.SingletonContext) { } if apex, ok := m.(android.ApexModule); ok && apex.NotAvailableForPlatform() { - apexInfo := ctx.ModuleProvider(m, android.ApexInfoProvider).(android.ApexInfo) + apexInfo, _ := android.SingletonModuleProvider(ctx, m, android.ApexInfoProvider) if apexInfo.IsForPlatform() { // There are stray platform variants of modules in apexes that are not available for // the platform, and they sometimes can't be built. Don't depend on them. |