Apply new duplication detection logic for M-Notification.ind
The X-Mms-Transaction-ID of the M-Notification.ind identifies each M-Notification.ind message. New duplication detection logic compares the new X-Mms-Transaction-ID with the stored value to identify the Network duplicate M-Notification.ind message when it receives a new M-Notification.ind message. Following SQL WHERE clause is used to query from the DB. ((m_type=NOTIFICATION_IND) OR (m_type=RETRIEVE_CONF)) AND (exp>NOW)) AND (t_id=xxxxxx) For this, when the M-Retrieve.conf is received, updates the t_id and the exp from the corresponding M-Notification.ind so that new logic would work even after the M-Notification.ind is deleted. Test: Manual Change-Id: I86e1eee62ea612d96ca16e5384b044cb6541ff6a Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
This commit is contained in:
@@ -540,6 +540,10 @@ public class MessageData implements Parcelable {
|
||||
return mSeen;
|
||||
}
|
||||
|
||||
public final long getMmsExpiry() {
|
||||
return mMmsExpiry;
|
||||
}
|
||||
|
||||
/**
|
||||
* For incoming MMS messages this returns the retrieve-status value
|
||||
* For sent MMS messages this returns the response-status value
|
||||
|
||||
Reference in New Issue
Block a user