From 21b13e2975180744020b0fb8c150e4a74c45e30c Mon Sep 17 00:00:00 2001 From: linyuh Date: Thu, 8 Feb 2018 10:44:50 -0800 Subject: Show icon and label for a spam number in the new call log. Bug: 73077158 Test: CallLogEntryTextTest, GlidePhotoManagerImplTest, PhoneLookupInfoConsolidatorTest PiperOrigin-RevId: 185017362 Change-Id: I113472482da2213d17a847054272a22249edc578 --- .../glidephotomanager/GlidePhotoManagerModule.java | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 java/com/android/dialer/glidephotomanager/GlidePhotoManagerModule.java (limited to 'java/com/android/dialer/glidephotomanager/GlidePhotoManagerModule.java') diff --git a/java/com/android/dialer/glidephotomanager/GlidePhotoManagerModule.java b/java/com/android/dialer/glidephotomanager/GlidePhotoManagerModule.java new file mode 100644 index 000000000..79629d69e --- /dev/null +++ b/java/com/android/dialer/glidephotomanager/GlidePhotoManagerModule.java @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2018 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.dialer.glidephotomanager; + +import com.android.dialer.glidephotomanager.impl.GlidePhotoManagerImpl; +import dagger.Binds; +import dagger.Module; +import javax.inject.Singleton; + +/** Module for {@link GlidePhotoManagerComponent} */ +@Module +public abstract class GlidePhotoManagerModule { + @Binds + @Singleton + public abstract GlidePhotoManager bindGlidePhotoManager(GlidePhotoManagerImpl glidePhotoManager); +} -- cgit v1.2.3