History log of /packages/services/Telephony/src/com/android/phone/settings/VisualVoicemailSettingsUtil.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4406848c72d9d4f46e30842f434e6e27f4319503 24-Jul-2015 Nancy Chen <nancychen@google.com> VVM: Do not do full sync more than once within a 1 minute span.

Sometimes duplicate sync requests will be made for visual voicemail. We
only want to do one sync for each of these requests.

Bug: 22607570
Change-Id: I0ec31a9e7d2d7823e2bbaf4441951dc552ce5709
/packages/services/Telephony/src/com/android/phone/settings/VisualVoicemailSettingsUtil.java
6337d1be5db67c7b81e7998988ca53da50ab44c2 29-Jun-2015 Nancy Chen <nancychen@google.com> Set alarm for retries with exponential backoff.

If the first retries don't work, we want to retry later using the
AlarmManager, which will schedule the retry when convenient.
Currently it just retries every 5 seconds (that's bad). This
change includes:
- Add key to preferences to save the current retry interval
- Add helper methods to construct proper pending intent and cancel
existing retries
- Remove the "undelete"/"unread" since we will be retrying uploads as
well as downloads.
Also we don't want to make a new network request if the first one
succeeded, we just want to retry the IMAP connection.
There's also a fix here for a bug where the local voicemails were not
indicated as "read" so there would be unnecessary updates to the
voicemail provider.

Bug: 21978479

Change-Id: I18c5e2d0b7920540ded74b09f63eb94fdd959f43
/packages/services/Telephony/src/com/android/phone/settings/VisualVoicemailSettingsUtil.java
5aef02b75aeade526de52d5c907932b97fbead52 24-Jun-2015 Nancy Chen <nancychen@google.com> Fix reboot lost setting issue, retry sms when signal comes back.

1. Bug where a reboot loses the user set "disabled" setting upon reboot.
2. Retry sending the activation sms if the visual voicemail source is
not activated.

Bug: 21978479
Bug: 21952287

Change-Id: I8394c71fe48253a439c993163cf21be73949ab3d
/packages/services/Telephony/src/com/android/phone/settings/VisualVoicemailSettingsUtil.java
a04959f74ba9009612804a4a5a5d8dd470969ddc 11-Jun-2015 Nancy Chen <nancychen@google.com> Persist user enable/disable setting through reboot.

When the carrier vvm app is installed but the user manually enables
dialer vvm, we should ensure that the user preference is persisted
through reboots.
Also, if the installation of the carrier vvm causes the dialer vvm to
become disabled, do not send the deactivate sms message, as the carrier
vvm app may need it.

Bug: 21126480
Change-Id: I9ffa53c17663f5f7b324ca44a49b695ffd3646a8
/packages/services/Telephony/src/com/android/phone/settings/VisualVoicemailSettingsUtil.java
57c59860b3737d7c3cd36455ad484c035c6c1dfb 03-Jun-2015 Nancy Chen <nancychen@google.com> Allow enabling and disabling of visual voicemail through settings.

Add switch to enable and disable visual voicemail in voicemail settings.

Bug: 21126480
Change-Id: I878e1128a4a2fe1fbb389b1f93f79d30946815e0
/packages/services/Telephony/src/com/android/phone/settings/VisualVoicemailSettingsUtil.java
9cc75becf6d2b474b319eeaa10ad16228355b806 29-May-2015 Nancy Chen <nancychen@google.com> Remove vvm dependence on AccountManager, save values in shared prefs.

Instead of using the sync adapter and accounts framework,
use an intent service for syncing and shared preferences for saving
the IMAP login values. This solves the phantom account problem.
* Renamed OmtpVvmSyncAccountManager to OmtpVvmSourceManager
* Moved carrier-specific code in SimChangeReceiver to
OmtpVvmCarrierConfigHelpoer

Bug: 20057303
Change-Id: I79347849d63bd7907df2e9aac9a14e7311215fe1
/packages/services/Telephony/src/com/android/phone/settings/VisualVoicemailSettingsUtil.java