blob: 41e9df4ff0b22c3886d28f1e0a5dc41ea1a55de8 [file] [log] [blame]
Walter Jang40c74792016-02-05 17:02:53 -08001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
5 * in compliance with the License. You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software distributed under the License
10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
11 * or implied. See the License for the specific language governing permissions and limitations under
12 * the License.
13 */
Walter Jange837ae32016-08-15 12:50:37 -070014package com.android.contactsbind;
Walter Jang40c74792016-02-05 17:02:53 -080015
Wenyi Wang79675452016-08-17 10:43:28 -070016import android.app.Fragment;
Tingting Wang918f0b22016-02-09 15:06:24 -080017import android.content.Context;
Walter Jang581585d2016-09-21 19:21:13 -070018import android.content.Intent;
19import android.net.Uri;
Walter Jang40c74792016-02-05 17:02:53 -080020
Gary Mai0a49afa2016-12-05 15:53:58 -080021import com.android.contacts.logging.Logger;
22import com.android.contacts.util.DeviceLocalAccountTypeFactory;
Walter Jangf61f0ee2016-11-29 18:40:17 +000023import com.android.contactsbind.search.AutocompleteHelper;
Gary Mai0a49afa2016-12-05 15:53:58 -080024
Walter Jang40c74792016-02-05 17:02:53 -080025/**
26 * Creates default bindings for overlays.
27 */
28public class ObjectFactory {
29
30 public static Logger getLogger() {
31 return null;
32 }
Tingting Wang918f0b22016-02-09 15:06:24 -080033
Walter Jangf61f0ee2016-11-29 18:40:17 +000034 public static AutocompleteHelper getAutocompleteHelper(Context context) {
35 return null;
36 }
37
Marcus Hagerottfac695a2016-08-24 17:02:40 -070038 public static DeviceLocalAccountTypeFactory getDeviceLocalAccountTypeFactory(Context context) {
39 return new DeviceLocalAccountTypeFactory.Default(context);
Marcus Hagerott6caf23f2016-08-18 15:02:42 -070040 }
Wenyi Wang79675452016-08-17 10:43:28 -070041
John Shao5b1ffdc2016-11-08 13:51:00 -080042 public static Fragment getAssistantFragment() {
Wenyi Wang79675452016-08-17 10:43:28 -070043 return null;
44 }
Walter Jang581585d2016-09-21 19:21:13 -070045
46 public static Intent getContactSheetIntent(Context context, Uri contactLookupUri) {
47 return null;
48 }
Walter Jang40c74792016-02-05 17:02:53 -080049}