summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Shrauner <shrauner@google.com>2013-09-14 12:24:50 -0700
committerJay Shrauner <shrauner@google.com>2013-09-14 13:29:44 -0700
commit006b5aff5f44d92a67c45881c575d692cacea8e5 (patch)
tree9e63eb72a7010645a267c1f3798ddff5d47ea848
parent7cfb9c2ffe0fb86498d342065a1f0b19dd887fff (diff)
Add addPhoto API
Add addPhoto API for saving images to the cache. Bug:10760102 Change-Id: If0163aaf677bebd25843f78279029c0635b235b6
-rw-r--r--src/com/android/dialer/service/CachedNumberLookupService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/dialer/service/CachedNumberLookupService.java b/src/com/android/dialer/service/CachedNumberLookupService.java
index b04593493..cba158b53 100644
--- a/src/com/android/dialer/service/CachedNumberLookupService.java
+++ b/src/com/android/dialer/service/CachedNumberLookupService.java
@@ -32,4 +32,8 @@ public interface CachedNumberLookupService {
public ContactInfo lookupCachedContactFromNumber(Context context, String number);
public void addContact(Context context, CachedContactInfo info);
+
+ public boolean isCacheUri(String uri);
+
+ public boolean addPhoto(Context context, String number, byte[] photo);
}