History log of /packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/WrappedMessageData.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
16080bf86eb0c42308b5fe767a69453358abb556 06-May-2015 Nancy Chen <nancychen@google.com> Do a comparative sync between local and server voicemails.

Currently a sync will completely wipe local voicemails and replace them
with the server voicemails. Instead, we will do a comparative sync to be
less disruptive to the user, and properly notify when a new voicemail is
available on the server. The changes are as follows:

* Rename DirtyVoicemailQuery to VoicemailsQueryHelper to handle all
queries related to the voicemail provider.
* Implement the comparative sync logic in OmtpVvmSyncService
* Fixed bug when receiving mailbox update sync message in
WrappedMessageData (tried to parse a field that did not exist)

Bug: 20764449
Change-Id: Iaae2a9fe7184e827d72baf1d5d5a72a36b3124a6
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/WrappedMessageData.java
7ab73ace1a04f8feffc6fa8d271148dd930f197f 18-Feb-2015 Nancy Chen <nancychen@google.com> Receive SYNC and STATUS SMS text messages.

These classes are adopted from the voicemail-example-for-android
voicemail source implementation with these notable differences:
skipping the interface classes, omitting OmtpSmsHandler, returning "null"
instead of throwing an exception, excluding constants that are not being used.
* Message receiver: receives SMS messages and sends to the parser
* Message parser: extracts fields and inserts into a wrapper, then create
StatusMessage and SyncMessage from the fields in the wrapper
* StatusMessage: an object containing the values of a status message
* SyncMessage: an object containing the values of a sync message

Bug:19236241

Change-Id: Ifb2dea832f5e5634fc301e9eb238650770b009e2
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/WrappedMessageData.java