diff options
| -rw-r--r-- | core/java/android/provider/CallLog.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java index bf051f58a286..02faf496843e 100644 --- a/core/java/android/provider/CallLog.java +++ b/core/java/android/provider/CallLog.java @@ -77,9 +77,17 @@ public class CallLog { */ public static final String TYPE = "type"; + /** Call log type for incoming calls. */ public static final int INCOMING_TYPE = 1; + /** Call log type for outgoing calls. */ public static final int OUTGOING_TYPE = 2; + /** Call log type for missed calls. */ public static final int MISSED_TYPE = 3; + /** + * Call log type for voicemails. + * @hide + */ + public static final int VOICEMAIL_TYPE = 4; /** * The phone number as the user entered it. @@ -143,6 +151,13 @@ public class CallLog { public static final String CACHED_NUMBER_LABEL = "numberlabel"; /** + * URI of the voicemail entry. Populated only for {@link #VOICEMAIL_TYPE}. + * <P>Type: TEXT</P> + * @hide + */ + public static final String VOICEMAIL_URI = "voicemail_uri"; + + /** * Adds a call to the call log. * * @param ci the CallerInfo object to get the target contact from. Can be null |