History log of /packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5493011356d6b813d5fb5739b5a6baeaeb6fc049 02-Apr-2015 Nancy Chen <nancychen@google.com> Fetch voicemail payload, which is usually the audio file.

When the user clicks on a voicemail, dialer sends out an broadcast intent
called "FETCH_VOICEMAIL". Any receiver that receives this broadcast is
in charge of
1) determining whether the voicemail belongs to them
2) downloading the audio file
3) writing the audio file to the voicemail provider and flipping the bit
on "has_content" for the voicemail's row in the calls table

Also fix some indents in the manifest file.

Bug: 19236241
Change-Id: I081cce569c68b52c654f0737fb29fb9c7ef8bf00
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
3f51d09afa61649a1bcf02599bc1df5aafccf088 26-Mar-2015 Nancy Chen <nancychen@google.com> Download all message metadata from server.

When a new SIM is inserted, the following should happen:
1. All local data is synced up to the server
2. All local data is wiped
3. All non-deleted voicemail metadata is downloaded from the server
(this means that there is enough information to create entries for the
voicemails but not that the content/audio files are downloaded).

Also added back LogUtils in all the e-mail library code (everything
under com.android.phone.common.mail).

All newly added files are direct copies except for "Flag" (including
refactorings of the files that use "Flag", converting enums into static
strings) and Utility (which selects only the necessary utility
functions). Note that this means that some of the files have dead code
in them--so later CLs will remove the excess weighte

Bug: 19236241

Change-Id: Ibc49c96667db8ec0de2ab52bdd82bfd0f6993135
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
c1fb661a75ae4f16d91289d2dd7addcac223594e 25-Mar-2015 Nancy Chen <nancychen@google.com> Sync read and deleted messages with the imap server.

When messages are read or deleted locally, alert the IMAP server to the
changes.

Bug: 19236241

Change-Id: I7f4440aa541511f0f7c5c763c9c695ad64eba103
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java