diff options
Diffstat (limited to 'java')
| -rw-r--r-- | java/app.go | 2 | ||||
| -rw-r--r-- | java/java.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/java/app.go b/java/app.go index fc2294c24..19dc8d5d1 100644 --- a/java/app.go +++ b/java/app.go @@ -1227,7 +1227,7 @@ func (a *AndroidApp) Privileged() bool { return Bool(a.appProperties.Privileged) } -func (a *AndroidApp) IsNativeCoverageNeeded(ctx android.IncomingTransitionContext) bool { +func (a *AndroidApp) IsNativeCoverageNeeded(ctx cc.IsNativeCoverageNeededContext) bool { return ctx.Device() && ctx.DeviceConfig().NativeCoverageEnabled() } diff --git a/java/java.go b/java/java.go index 5fdb4b871..88b31b586 100644 --- a/java/java.go +++ b/java/java.go @@ -1358,7 +1358,7 @@ func (j *JavaTestImport) InstallInTestcases() bool { return true } -func (j *TestHost) IsNativeCoverageNeeded(ctx android.IncomingTransitionContext) bool { +func (j *TestHost) IsNativeCoverageNeeded(ctx cc.IsNativeCoverageNeededContext) bool { return ctx.DeviceConfig().NativeCoverageEnabled() } |