Govinda Wasserman | 2e86fb6 | 2019-08-13 11:35:44 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2019 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
| 17 | package com.android.systemui; |
| 18 | |
Dave Mankoff | f473681 | 2019-10-18 17:25:50 -0400 | [diff] [blame^] | 19 | import com.android.systemui.dagger.DependencyBinder; |
| 20 | import com.android.systemui.dagger.DependencyProvider; |
| 21 | import com.android.systemui.dagger.SystemServicesModule; |
| 22 | import com.android.systemui.dagger.SystemUIModule; |
| 23 | import com.android.systemui.dagger.SystemUIRootComponent; |
| 24 | |
Govinda Wasserman | 2e86fb6 | 2019-08-13 11:35:44 -0400 | [diff] [blame] | 25 | import javax.inject.Singleton; |
| 26 | |
| 27 | import dagger.Component; |
| 28 | |
| 29 | @Singleton |
| 30 | @Component( |
| 31 | modules = { |
| 32 | DependencyProvider.class, |
| 33 | DependencyBinder.class, |
Govinda Wasserman | 2e86fb6 | 2019-08-13 11:35:44 -0400 | [diff] [blame] | 34 | SystemUIFactory.ContextHolder.class, |
Dave Mankoff | f473681 | 2019-10-18 17:25:50 -0400 | [diff] [blame^] | 35 | SystemServicesModule.class, |
Govinda Wasserman | 2e86fb6 | 2019-08-13 11:35:44 -0400 | [diff] [blame] | 36 | SystemUIModule.class, |
Heemin Seog | 1a39dea | 2019-10-16 15:58:21 -0700 | [diff] [blame] | 37 | CarSystemUIModule.class, |
| 38 | CarSystemUIBinder.class |
Govinda Wasserman | 2e86fb6 | 2019-08-13 11:35:44 -0400 | [diff] [blame] | 39 | }) |
| 40 | interface CarSystemUIRootComponent extends SystemUIRootComponent { |
| 41 | |
| 42 | } |