1 /* 2 * Copyright (C) 2017 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.dialer.binary.aosp; 18 19 import com.android.bubble.stub.StubBubbleModule; 20 import com.android.dialer.activecalls.ActiveCallsModule; 21 import com.android.dialer.binary.basecomponent.BaseDialerRootComponent; 22 import com.android.dialer.calllog.CallLogModule; 23 import com.android.dialer.calllog.config.CallLogConfigModule; 24 import com.android.dialer.commandline.CommandLineModule; 25 import com.android.dialer.common.concurrent.DialerExecutorModule; 26 import com.android.dialer.configprovider.SharedPrefConfigProviderModule; 27 import com.android.dialer.contacts.ContactsModule; 28 import com.android.dialer.duo.stub.StubDuoModule; 29 import com.android.dialer.enrichedcall.stub.StubEnrichedCallModule; 30 import com.android.dialer.feedback.stub.StubFeedbackModule; 31 import com.android.dialer.glidephotomanager.GlidePhotoManagerModule; 32 import com.android.dialer.inject.ContextModule; 33 import com.android.dialer.metrics.StubMetricsModule; 34 import com.android.dialer.phonelookup.PhoneLookupModule; 35 import com.android.dialer.phonenumbergeoutil.impl.PhoneNumberGeoUtilModule; 36 import com.android.dialer.precall.impl.PreCallModule; 37 import com.android.dialer.preferredsim.PreferredSimModule; 38 import com.android.dialer.preferredsim.suggestion.stub.StubSimSuggestionModule; 39 import com.android.dialer.promotion.impl.PromotionModule; 40 import com.android.dialer.simulator.impl.SimulatorModule; 41 import com.android.dialer.simulator.stub.StubSimulatorEnrichedCallModule; 42 import com.android.dialer.spam.stub.StubSpamModule; 43 import com.android.dialer.storage.StorageModule; 44 import com.android.dialer.strictmode.impl.SystemStrictModeModule; 45 import com.android.dialer.theme.base.impl.AospThemeModule; 46 import com.android.incallui.calllocation.stub.StubCallLocationModule; 47 import com.android.incallui.maps.stub.StubMapsModule; 48 import com.android.incallui.speakeasy.StubSpeakEasyModule; 49 import com.android.voicemail.impl.VoicemailModule; 50 import dagger.Component; 51 import javax.inject.Singleton; 52 53 /** Root component for the AOSP Dialer application. */ 54 @Singleton 55 @Component( 56 modules = { 57 ActiveCallsModule.class, 58 CallLogModule.class, 59 CallLogConfigModule.class, 60 CommandLineModule.class, 61 ContactsModule.class, 62 ContextModule.class, 63 DialerExecutorModule.class, 64 GlidePhotoManagerModule.class, 65 PhoneLookupModule.class, 66 PhoneNumberGeoUtilModule.class, 67 PreCallModule.class, 68 PreferredSimModule.class, 69 PromotionModule.class, 70 SharedPrefConfigProviderModule.class, 71 SimulatorModule.class, 72 StubSimulatorEnrichedCallModule.class, 73 StorageModule.class, 74 StubCallLocationModule.class, 75 StubDuoModule.class, 76 StubEnrichedCallModule.class, 77 StubBubbleModule.class, 78 StubMetricsModule.class, 79 StubFeedbackModule.class, 80 StubMapsModule.class, 81 StubSimSuggestionModule.class, 82 StubSpamModule.class, 83 StubSpeakEasyModule.class, 84 SystemStrictModeModule.class, 85 AospThemeModule.class, 86 VoicemailModule.class, 87 }) 88 public interface AospDialerRootComponent extends BaseDialerRootComponent {} 89