19ac71d04272951270d282c6d28d926a49598742 |
|
12-Jul-2016 |
Ta-wei Yen <twyen@google.com> |
Merge changes I5b45f043,I1ebe7fc3 into nyc-mr1-dev * changes: Remove NOOP in VVM connection Set message count to 0 while clearing MWI
|
02372a9272be529d681b179bfe6cb80f19e74e46 |
|
11-Jul-2016 |
Ta-wei Yen <twyen@google.com> |
Remove NOOP in VVM connection ImapFolder.open() is always called on a new instance. Using NOOP to validate existing connection is never ran. This CL removes the NOOP check and asserts open() is only called once per instance. Change-Id: I5b45f043707529783409915e1c1652d2a28f5911 Fixes: 27817300
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
|
1bedb4f02433e86d10ee9693a2208b23476cb2d1 |
|
12-Jul-2016 |
Ta-wei Yen <twyen@google.com> |
Proper IMAP logout Prior to this CL the IMAP client never send a LOGOUT command and just shut down the socket, which was regarded as an "abnormal session termination" to the server. In this CL, we will attempt to send the LOGOUT command before closing the socket. ImapHelper was also made closeable to ensure the connection is not leaked. Change-Id: I920c63edaa39116e56d17866451709306e5ab91c Fixes: 27816588
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
|
f5c5d934a418a6c28313f284eec4f98a6fbbdc5c |
|
02-Jun-2016 |
Ta-wei Yen <twyen@google.com> |
Centralize VVM error Processing To prepare for vendor specific error codes every error that is written to the voicemail status table is centralized to the VoicemailProtocol, which determines what error code will be actually written. + Use PhoneAccountHandleConverter to convert subId instead of PhoneUtils. PhoneAccountHandleConverter still uses PhoneUtils under the hood but it will be changed to using public API in the future. Bug:28968317 Bug:28977379 Change-Id: I69232b276ec0d456fb9ca1fb08f25b2d51d89462
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
|
0786462237e5a29e4491d43a78c07e365731dc7b |
|
02-Jun-2016 |
Ta-wei Yen <twyen@google.com> |
Support XCHANGE_TUI_PWD The XCHANGE_TUI_PWD OMTP IMAP command allows the user to change the PIN required to dial in their voicemail inbox. A prefernce in voicemail settings has been added to access this feature. https://screenshot.googleplex.com/X9rWDsKB0Bw The preference will launch a dialog to enter the old and new PIN the EditText has numberPassword format https://screenshot.googleplex.com/L3WW6q5igVw A modal progress dialog will spin when the PIN change is processing. https://screenshot.googleplex.com/J9Gfv8zq1oo If any error occurred, a dialog will be shown with the error message https://screenshot.googleplex.com/LBq7G3FXG8M Change-Id: I8a083b2a22bd85bbdfdae16593f4827b44049776 Fixes:29056644
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
|
8c81de9af8e24cca7900ad042aafdcf233b03c1c |
|
15-Apr-2016 |
Ta-wei Yen <twyen@google.com> |
Guard NPE when fetching a voicemail that does not exist on the server Bug:28174122 Change-Id: I5b8e41979fed3e4d6037aa4588f68c74c9a0c835
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
|
902b9b0ac33de217e8061614b335cf98e7a65125 |
|
27-Jan-2016 |
Ta-wei Yen <twyen@google.com> |
Report VVM error to VoicemailContract#Status Cause of error is identified and set in the DATA_CHANNEL_STATE so the UI can tell the user what went wrong and give solutions if possible. Change-Id: Ifa5cde23beb6ec5300cd484243519ba8a314f8f9
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
|
1026b43f434926df8edf54cafe626d921cee6165 |
|
14-Dec-2015 |
Ta-wei Yen <twyen@google.com> |
Retrieve quota and update to voicemail status Triggered with OmtpVvmSyncService.doSync() Bug:25197644 Change-Id: Ib2e1c345946a717369cb6892817beb2d1bf07286
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
|
31e73def62add3fa100818f0f6c909be0a75685d |
|
17-Jul-2015 |
Nancy Chen <nancychen@google.com> |
Fetch transcription for voicemail. When a voicemail metadata has been fetched, check if there is a text attachment. If there is a text attachment, this is the voicemail transcription. Add the voicemail transcription to the voicemail object for insertion. Also add SDK version to AndroidManifest.xml. Bug: 22542002 Change-Id: Id313cbbf440ec643dcffb8553ba7bc370c369362
/packages/services/Telephony/src/com/android/phone/common/mail/store/ImapFolder.java
|
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
|