History log of /packages/apps/Contacts/src/com/android/contacts/calllog/DefaultVoicemailNotifier.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
66f14602b0d5461a10d56ff51738c09499a34347 13-May-2012 Flavio Lerda <flerda@google.com> Add action to the voicemail notification.

If there is only one voicemail, add an action to directly play the
voicemail.

Bug: 6288434
Change-Id: I654864d32f7f5fb64c946d23ad95b692aa950246
/packages/apps/Contacts/src/com/android/contacts/calllog/DefaultVoicemailNotifier.java
9149eceff4b0f27d24a31ee52393bb8d4939dc60 24-Nov-2011 Flavio Lerda <flerda@google.com> Merge "Handle the case of a null cursor being returned."
7ff56b875068a95c45b287089cf7b779faec5d9c 23-Nov-2011 Flavio Lerda <flerda@google.com> Remove verbose logging.

This condition used to be an error, but it actually now possible, in
fact quite frequent. Remove it from the log.

We used to trigger the update only when a new voicemail is received.
In that case, there should always be at least a voicemail to notify
about.

However, we currently do this also if we request do dismiss the the
notifications, e.g., when opening the call log. This log is a bit too
common now (basically every time the user opens the call log), so
downgrade it to a comment, since it is no longer an error condition.

Bug: 5657809
Change-Id: Ic35cc306ceca3fbe1d3fe83076e5120d810c354b
/packages/apps/Contacts/src/com/android/contacts/calllog/DefaultVoicemailNotifier.java
951751aefecb95245f01066f2b97244545a4272f 22-Nov-2011 Flavio Lerda <flerda@google.com> Handle the case of a null cursor being returned.

While unlikely, it is possible for the content resolver to return a null
cursor. Instead of crashing with a NullPointerException, handle this
case gracefully.

Bug: 5642539
Change-Id: I69423c32a124e3e7c8d6734e5561c316919eb1b4
/packages/apps/Contacts/src/com/android/contacts/calllog/DefaultVoicemailNotifier.java
0646f2712e8b4a5ada51bd586d5f179d38a304c5 17-Oct-2011 Flavio Lerda <flerda@google.com> Use framework API to match voicemail number.

We were tracking the voicemail number within the application. This has
two shortcomings: it would not be updated automatically when its value
changes and the matching against it was only based on it being
identical, without taking into account other possible formatting
differences.

Switch to use PhoneNumberUtils.isVoiceMailNumber() instead, which is
what the Phone app is also using.

Bug: 5435925
Bug: 5416495
Change-Id: Ie56363c578cf5f6102fd6880ffce14f608ddaf0b
/packages/apps/Contacts/src/com/android/contacts/calllog/DefaultVoicemailNotifier.java
fc5f828e1612ed4fcfacf6edfbc155058fdc0c9b 01-Oct-2011 Flavio Lerda <flerda@google.com> Remove some verbose logging that is not needed.

Change-Id: I63972ba0e1d7314aaa7f9acd3168c72a4cbe77c5
/packages/apps/Contacts/src/com/android/contacts/calllog/DefaultVoicemailNotifier.java
0331d14de21c78cd6969ef177e399a4b99290f7d 12-Aug-2011 Flavio Lerda <flerda@google.com> Fix clearing of voicemail notifications.

The intent used to clear the voicemail notifications currently also
marks the missed calls as no longer new. This change fixes that by
updating only the entries corresponding to voicemails.

Bug: 5159577
Change-Id: Ia36902daaa9cd19c8b4a2f30259eb328ee103b25
/packages/apps/Contacts/src/com/android/contacts/calllog/DefaultVoicemailNotifier.java
60c1f788e39577cad5b74414e65d9bab7ca17574 27-Jul-2011 Flavio Lerda <flerda@google.com> Move notification generation to a service.

Generating notifications requires looking up the list of calls to
include and the name of the callers.

Instead of doing this on the onReceive, move this to a service. By using
IntentService this will be done on a worker thread.

Bug: 5036195
Change-Id: Idb6e80c802e40398888bb76f52ad7c5457aea945
/packages/apps/Contacts/src/com/android/contacts/calllog/DefaultVoicemailNotifier.java
b78b7096618cd9c3c8db8e4a8e0ed684fe8b1b11 26-Jul-2011 Flavio Lerda <flerda@google.com> Fixes for voicemail notifications.

- Handle multiple notifications.
- Clear notifications correctly.
- Show un-cleared notifications on reboot.

Bug: 4968721
Change-Id: I1bd1eda4d75371fb7ba92063d74a61de232b61d6
/packages/apps/Contacts/src/com/android/contacts/calllog/DefaultVoicemailNotifier.java
87bd5360fcd0cc1f76f0e46a431a8c5152a9a7ed 30-Jun-2011 Flavio Lerda <flerda@google.com> Add notifications for new voicemails.

New voicemails trigger a broadcast: receive the broadcast and show the
notification in the status bar for it.

Lookup the number and contact name (if any) and include those in the
notification.

Bug: 4968670

Change-Id: I7c68458696199c47fe49b37a732fe10ce24e3fe9
/packages/apps/Contacts/src/com/android/contacts/calllog/DefaultVoicemailNotifier.java