summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/calllog/database
diff options
context:
space:
mode:
authorzachh <zachh@google.com>2017-12-12 11:22:57 -0800
committerCopybara-Service <copybara-piper@google.com>2017-12-12 14:31:18 -0800
commit75812adca7fdebc90eb150035e399625f5c36a8b (patch)
tree19d1dde53e77d9cbc57584dfc7544e70a7b0ad54 /java/com/android/dialer/calllog/database
parentab544521b21566b12a42e539d119c76dd5243a2d (diff)
Updated writing of PhoneLookup columns in annotated call log.
We're not going to use the "cached" columns from the system call log any longer, and instead will write them using PhoneLookup. Bug: 34672501 Test: unit PiperOrigin-RevId: 178788155 Change-Id: I9255dd3cb727eef3b45bc05aeb3c6fd6fd513d63
Diffstat (limited to 'java/com/android/dialer/calllog/database')
-rw-r--r--java/com/android/dialer/calllog/database/contract/AnnotatedCallLogContract.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/java/com/android/dialer/calllog/database/contract/AnnotatedCallLogContract.java b/java/com/android/dialer/calllog/database/contract/AnnotatedCallLogContract.java
index c9c053cea..7071ab5c1 100644
--- a/java/com/android/dialer/calllog/database/contract/AnnotatedCallLogContract.java
+++ b/java/com/android/dialer/calllog/database/contract/AnnotatedCallLogContract.java
@@ -42,10 +42,9 @@ public class AnnotatedCallLogContract {
String TIMESTAMP = "timestamp";
/**
- * Copied from {@link android.provider.CallLog.Calls#CACHED_NAME}.
- *
- * <p>This is exactly how it should appear to the user. If the user's locale or name display
- * preferences change, this column should be rewritten.
+ * The name (which may be a person's name or business name, but not a number) formatted exactly
+ * as it should appear to the user. If the user's locale or name display preferences change,
+ * this column should be rewritten.
*
* <p>Type: TEXT
*/
@@ -61,28 +60,29 @@ public class AnnotatedCallLogContract {
String NUMBER = "number";
/**
- * Copied from {@link android.provider.CallLog.Calls#CACHED_FORMATTED_NUMBER}.
+ * The number formatted as it should be displayed to the user. Note that it may not always be
+ * displayed, for example if the number has a corresponding person or business name.
*
* <p>Type: TEXT
*/
String FORMATTED_NUMBER = "formatted_number";
/**
- * Copied from {@link android.provider.CallLog.Calls#CACHED_PHOTO_URI}.
+ * A photo URI for the contact to display in the call log list view.
*
* <p>TYPE: TEXT
*/
String PHOTO_URI = "photo_uri";
/**
- * Copied from {@link android.provider.CallLog.Calls#CACHED_PHOTO_ID}.
+ * A photo ID (from the contacts provider) for the contact to display in the call log list view.
*
* <p>Type: INTEGER (long)
*/
String PHOTO_ID = "photo_id";
/**
- * Copied from {@link android.provider.CallLog.Calls#CACHED_LOOKUP_URI}.
+ * The contacts provider lookup URI for the contact associated with the call.
*
* <p>TYPE: TEXT
*/