Skip to content

Commit 192df69

Browse files
flerdaAndroid (Google) Code Review
authored andcommitted
Merge "Add a few columns for caching to the call log."
2 parents 9b9783a + 2d538d4 commit 192df69

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

core/java/android/provider/CallLog.java

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,42 @@ public static class Calls implements BaseColumns {
201201
*/
202202
public static final String GEOCODED_LOCATION = "geocoded_location";
203203

204+
/**
205+
* The cached URI to look up the contact associated with the phone number, if it exists.
206+
* This value is not guaranteed to be current, if the contact information
207+
* associated with this number has changed.
208+
* <P>Type: TEXT</P>
209+
* @hide
210+
*/
211+
public static final String CACHED_LOOKUP_URI = "lookup_uri";
212+
213+
/**
214+
* The cached phone number of the contact which matches this entry, if it exists.
215+
* This value is not guaranteed to be current, if the contact information
216+
* associated with this number has changed.
217+
* <P>Type: TEXT</P>
218+
* @hide
219+
*/
220+
public static final String CACHED_MATCHED_NUMBER = "matched_number";
221+
222+
/**
223+
* The cached normalized version of the phone number, if it exists.
224+
* This value is not guaranteed to be current, if the contact information
225+
* associated with this number has changed.
226+
* <P>Type: TEXT</P>
227+
* @hide
228+
*/
229+
public static final String CACHED_NORMALIZED_NUMBER = "normalized_number";
230+
231+
/**
232+
* The cached photo id of the picture associated with the phone number, if it exists.
233+
* This value is not guaranteed to be current, if the contact information
234+
* associated with this number has changed.
235+
* <P>Type: INTEGER (long)</P>
236+
* @hide
237+
*/
238+
public static final String CACHED_PHOTO_ID = "photo_id";
239+
204240
/**
205241
* Adds a call to the call log.
206242
*

0 commit comments

Comments
 (0)