diff options
author | Flavio Lerda <flerda@google.com> | 2011-07-25 07:44:02 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-07-25 07:44:02 -0700 |
commit | 72a3a86efee8a74bfd22c66bae5bfff2e88aa677 (patch) | |
tree | d72215c82b5da965066f215b8a6e61bf11df381f | |
parent | 142d7575b52d03d46246e3b142e22ebc32d45a84 (diff) | |
parent | 651212d37db9aa6d03b30a8a09a2a44627862eea (diff) | |
download | frameworks_base-72a3a86efee8a74bfd22c66bae5bfff2e88aa677.zip frameworks_base-72a3a86efee8a74bfd22c66bae5bfff2e88aa677.tar.gz frameworks_base-72a3a86efee8a74bfd22c66bae5bfff2e88aa677.tar.bz2 |
Merge "Add IS_READ column in call log and voicemail providers."
-rw-r--r-- | core/java/android/provider/CallLog.java | 10 | ||||
-rw-r--r-- | core/java/android/provider/VoicemailContract.java | 6 |
2 files changed, 16 insertions, 0 deletions
diff --git a/core/java/android/provider/CallLog.java b/core/java/android/provider/CallLog.java index 382fcf3..e23d6f3 100644 --- a/core/java/android/provider/CallLog.java +++ b/core/java/android/provider/CallLog.java @@ -184,6 +184,16 @@ public class CallLog { public static final String VOICEMAIL_URI = "voicemail_uri"; /** + * Whether this item has been read or otherwise consumed by the user. + * <p> + * Unlike the {@link #NEW} field, which requires the user to have acknowledged the + * existence of the entry, this implies the user has interacted with the entry. + * <P>Type: INTEGER (boolean)</P> + * @hide + */ + public static final String IS_READ = "is_read"; + + /** * Adds a call to the call log. * * @param ci the CallerInfo object to get the target contact from. Can be null diff --git a/core/java/android/provider/VoicemailContract.java b/core/java/android/provider/VoicemailContract.java index 2ad7395..2e5a495 100644 --- a/core/java/android/provider/VoicemailContract.java +++ b/core/java/android/provider/VoicemailContract.java @@ -128,6 +128,12 @@ public class VoicemailContract { */ public static final String NEW = Calls.NEW; /** + * Whether this item has been read or otherwise consumed by the user. + * <P>Type: INTEGER (boolean)</P> + * @hide + */ + public static final String IS_READ = Calls.IS_READ; + /** * The mail box state of the voicemail. This field is currently not used by the system. * <P> Possible values: {@link #STATE_INBOX}, {@link #STATE_DELETED}, * {@link #STATE_UNDELETED}. |