summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorYe Wen <ywen@google.com>2014-07-29 10:42:25 -0700
committerYe Wen <ywen@google.com>2014-07-30 12:57:10 -0700
commita3dbd1087dfad0cacdb274420ec70505e236ad42 (patch)
tree6daa92cb1283dcb46bc7643231d02baeccefb488 /telephony
parentf62af27846b49dde99f3a665ad83696e37e1833b (diff)
downloadframeworks_base-a3dbd1087dfad0cacdb274420ec70505e236ad42.zip
frameworks_base-a3dbd1087dfad0cacdb274420ec70505e236ad42.tar.gz
frameworks_base-a3dbd1087dfad0cacdb274420ec70505e236ad42.tar.bz2
Move archived column from pdu/sms to threads (1/4)
Also add API to archive a conversation Change-Id: Ib7daf6e0c3205c3c084406800c9c5bf054e1ca40
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/IMms.aidl10
1 files changed, 10 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/IMms.aidl b/telephony/java/com/android/internal/telephony/IMms.aidl
index 651205f..30ef725 100644
--- a/telephony/java/com/android/internal/telephony/IMms.aidl
+++ b/telephony/java/com/android/internal/telephony/IMms.aidl
@@ -183,6 +183,16 @@ interface IMms {
in ContentValues statusValues);
/**
+ * Archive or unarchive a stored conversation
+ *
+ * @param callingPkg the package name of the calling app
+ * @param conversationId the ID of the message conversation
+ * @param archived true to archive the conversation, false otherwise
+ * @return true if update is successful, false otherwise
+ */
+ boolean archiveStoredConversation(String callingPkg, long conversationId, boolean archived);
+
+ /**
* Add a text message draft to system SMS store
*
* @param callingPkg the package name of the calling app