diff --git a/java/dagger/hilt/android/internal/managers/ActivityComponentManager.java b/java/dagger/hilt/android/internal/managers/ActivityComponentManager.java index 3fa4910d012..4a6c2fba3cf 100644 --- a/java/dagger/hilt/android/internal/managers/ActivityComponentManager.java +++ b/java/dagger/hilt/android/internal/managers/ActivityComponentManager.java @@ -36,7 +36,8 @@ * because even the injector interface type is not a valid type if we have a hilt base class. * */ -public class ActivityComponentManager implements GeneratedComponentManager { +public class ActivityComponentManager + implements GeneratedComponentManager, ActivityRetainedComponentAccessor { /** Entrypoint for {@link ActivityComponentBuilder}. */ @EntryPoint @InstallIn(ActivityRetainedComponent.class) diff --git a/java/dagger/hilt/android/internal/managers/BUILD b/java/dagger/hilt/android/internal/managers/BUILD index ab1321f462b..ee9da6eb772 100644 --- a/java/dagger/hilt/android/internal/managers/BUILD +++ b/java/dagger/hilt/android/internal/managers/BUILD @@ -26,6 +26,7 @@ android_library( name = "managers", srcs = [ "ActivityComponentManager.java", + "ActivityRetainedComponentAccessor.java", "ActivityRetainedComponentManager.java", "ApplicationComponentManager.java", "BroadcastReceiverComponentManager.java",