From 66dd811c92b494175a808616cc2a636a5b1797e6 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 20 Apr 2015 19:38:21 -0700 Subject: InCallUI: Fix build after ag/675533 Complete the changes. Bug: 20300758 Change-Id: If1063f973406847fe692c3fd34cb3fc21210973b --- .../com/android/incalluibind/ObjectFactory.java | 10 +++++++ .../com/android/incalluibind/ServiceFactory.java | 32 ---------------------- 2 files changed, 10 insertions(+), 32 deletions(-) delete mode 100644 InCallUI/src/com/android/incalluibind/ServiceFactory.java diff --git a/InCallUI/src/com/android/incalluibind/ObjectFactory.java b/InCallUI/src/com/android/incalluibind/ObjectFactory.java index 0cb4241b2..a3c002ee5 100644 --- a/InCallUI/src/com/android/incalluibind/ObjectFactory.java +++ b/InCallUI/src/com/android/incalluibind/ObjectFactory.java @@ -20,9 +20,19 @@ import android.content.Context; import android.content.Intent; import com.android.incallui.CallCardPresenter.EmergencyCallListener; +import com.android.incallui.service.PhoneNumberService; public class ObjectFactory { + public static PhoneNumberService newPhoneNumberService(Context context) { + // no phone number service. + return null; + } + + public static EmergencyCallListener newEmergencyCallListener() { + return null; + } + public static EmergencyCallListener getEmergencyCallListener() { return null; } diff --git a/InCallUI/src/com/android/incalluibind/ServiceFactory.java b/InCallUI/src/com/android/incalluibind/ServiceFactory.java deleted file mode 100644 index 7191f146b..000000000 --- a/InCallUI/src/com/android/incalluibind/ServiceFactory.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2013 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.incalluibind; - -import android.content.Context; - -import com.android.incallui.service.PhoneNumberService; - -/** - * Default static binder for services. - */ -public class ServiceFactory { - - public static PhoneNumberService newPhoneNumberService(Context context) { - // no phone number service. - return null; - } -} -- cgit v1.2.3