summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2015-05-12 17:25:14 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-05-12 17:25:14 +0000
commit6cab2abd622e576abab98cc3166e81dcca2e11d9 (patch)
tree48d6ab81f6d06648cf74faf67a8150ccc1078bc4
parent8808c0adf8a06dd21f9979a719144cefd86d02f4 (diff)
parent19398896713e94bf270f0582fa8300176fc78e54 (diff)
am 19398896: am ec93d7f7: am 97e70fce: Merge "Save CNAP in call history" into mnc-dev
* commit '19398896713e94bf270f0582fa8300176fc78e54': Save CNAP in call history
-rw-r--r--src/com/android/dialer/service/CachedNumberLookupService.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/com/android/dialer/service/CachedNumberLookupService.java b/src/com/android/dialer/service/CachedNumberLookupService.java
index a3782f162..e91d458ce 100644
--- a/src/com/android/dialer/service/CachedNumberLookupService.java
+++ b/src/com/android/dialer/service/CachedNumberLookupService.java
@@ -1,6 +1,5 @@
package com.android.dialer.service;
-import android.content.ContentValues;
import android.content.Context;
import com.android.dialer.calllog.ContactInfo;
@@ -8,8 +7,15 @@ import com.android.dialer.calllog.ContactInfo;
public interface CachedNumberLookupService {
public interface CachedContactInfo {
+ public static final int SOURCE_TYPE_DIRECTORY = 1;
+ public static final int SOURCE_TYPE_EXTENDED = 2;
+ public static final int SOURCE_TYPE_PLACES = 3;
+ public static final int SOURCE_TYPE_PROFILE = 4;
+ public static final int SOURCE_TYPE_CNAP = 5;
+
public ContactInfo getContactInfo();
+ public void setSource(int sourceType, String name, long directoryId);
public void setDirectorySource(String name, long directoryId);
public void setExtendedSource(String name, long directoryId);
public void setLookupKey(String lookupKey);