Remove unneeded indexing now that we transition on the incoming edge. PiperOrigin-RevId: 948407136 Change-Id: Iabe52b1a905232ed2d82b2920647e9c4e5bea67f
diff --git a/rules/android_binary/impl.bzl b/rules/android_binary/impl.bzl index bf4f052..44b3a97 100644 --- a/rules/android_binary/impl.bzl +++ b/rules/android_binary/impl.bzl
@@ -441,7 +441,7 @@ if ctx.configuration.coverage_enabled and hasattr(ctx.attr, "_jacoco_runtime"): # In offline instrumentation mode, we add the Jacoco runtime to the classpath. - binary_runtime_jars.extend(ctx.attr._jacoco_runtime[0][DefaultInfo].files.to_list()) + binary_runtime_jars.extend(ctx.attr._jacoco_runtime[DefaultInfo].files.to_list()) info = _dex.merge_infos(utils.collect_providers(StarlarkAndroidDexInfo, _get_dex_desugar_aspect_deps(ctx))) incremental_dexopts = _dex.filter_dexopts(ctx.attr.dexopts, _dex.DEXOPTS_SUPPORTED_IN_INCREMENTAL_DEXING)