summaryrefslogtreecommitdiff
path: root/src/com/android/dialer/service
diff options
context:
space:
mode:
authorAnthony Lee <anthonylee@google.com>2014-09-30 15:55:31 -0700
committerAnthony Lee <anthonylee@google.com>2014-10-01 21:27:19 -0700
commit55733814f213809baaa8eaa8984ff026bdb08b4e (patch)
tree66976c709ec9b3706254fd60fc8ea9384cd4ba19 /src/com/android/dialer/service
parent56493453580bb0db9a7ebd90b3c9868c8e3a8a59 (diff)
Fix HTTP request to a report bad caller ID entry in the call log (1/2)
A few things needed to change to fix this bug. 1. Add object ID to ContactInfo and make sure that it is persisted 2. Adding a new row means migration from older versions of DBs 3. Fix logic that determines if we can report a given call log entry since the strategy of using isExternal() is not valid. UI impact. 4. Fix the HTTP request that is generated to include a valid object ID intead of using the source ID. Bug: 17692726 Change-Id: If541fea963837118b7466b6c59f453103cdbdc4a
Diffstat (limited to 'src/com/android/dialer/service')
-rw-r--r--src/com/android/dialer/service/CachedNumberLookupService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/dialer/service/CachedNumberLookupService.java b/src/com/android/dialer/service/CachedNumberLookupService.java
index 2fec45cd6..a3782f162 100644
--- a/src/com/android/dialer/service/CachedNumberLookupService.java
+++ b/src/com/android/dialer/service/CachedNumberLookupService.java
@@ -34,8 +34,7 @@ public interface CachedNumberLookupService {
public boolean isCacheUri(String uri);
public boolean isBusiness(int sourceType);
-
- public boolean isExternal(int sourceType);
+ public boolean canReportAsInvalid(int sourceType, String objectId);
public boolean addPhoto(Context context, String number, byte[] photo);