diff options
author | Andreas Gampe <agampe@google.com> | 2015-04-20 19:38:21 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-04-20 19:40:00 -0700 |
commit | 66dd811c92b494175a808616cc2a636a5b1797e6 (patch) | |
tree | 2a012f591f5edbbfd6330201d191ee0681d3f428 | |
parent | bc406d1e915c873f1dbeb33285034eb8ddda6b4d (diff) |
InCallUI: Fix build after ag/675533
Complete the changes.
Bug: 20300758
Change-Id: If1063f973406847fe692c3fd34cb3fc21210973b
-rw-r--r-- | InCallUI/src/com/android/incalluibind/ObjectFactory.java | 10 | ||||
-rw-r--r-- | InCallUI/src/com/android/incalluibind/ServiceFactory.java | 32 |
2 files changed, 10 insertions, 32 deletions
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; - } -} |