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