diff options
Diffstat (limited to 'android/deapexer.go')
-rw-r--r-- | android/deapexer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/deapexer.go b/android/deapexer.go index a674b424e..e5dd27785 100644 --- a/android/deapexer.go +++ b/android/deapexer.go @@ -167,7 +167,7 @@ func FindDeapexerProviderForModule(ctx ModuleContext) *DeapexerInfo { if di != nil { return di } - ai := ctx.Provider(ApexInfoProvider).(ApexInfo) + ai, _ := ModuleProvider(ctx, ApexInfoProvider) ctx.ModuleErrorf("No prebuilt APEX provides a deapexer module for APEX variant %s", ai.ApexVariationName) return nil } |