Files
lawnchair/src_no_quickstep/com/android/launcher3/dagger/ActivityContextComponent.kt
Sunny Goyal 182dbd609d Adding dagger subcomponent for activity context scope
Bug: 361850561
Test: Presumit
Flag: EXEMPT refactor
Change-Id: I2d2e556fc1c81eaac74e2a1a2a1c5526505f7a56
2025-05-28 13:33:22 -07:00

32 lines
1012 B
Kotlin

/*
* Copyright (C) 2025 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.launcher3.dagger
import dagger.Subcomponent
/** Sub component for Dagger injection for ActivityContext. */
@Subcomponent
@ActivityContextSingleton
interface ActivityContextComponent : BaseActivityContextComponent {
@Subcomponent.Builder
interface Builder : BaseActivityContextComponent.Builder {
override fun build(): ActivityContextComponent
}
}