diff options
author | Debashish Chatterjee <debashishc@google.com> | 2011-08-09 10:35:07 +0100 |
---|---|---|
committer | Debashish Chatterjee <debashishc@google.com> | 2011-08-10 10:54:26 +0100 |
commit | 2e757d904e62dbf5bc0b028626fa9319ccc38c45 (patch) | |
tree | bbc8a6ede11e85427615ff1cdbad7c8559432076 /src/com/android/providers/contacts/VoicemailStatusTable.java | |
parent | 13a121b7252020fb9226ce3d2bfe4973e2c682cd (diff) | |
download | packages_providers_ContactsProvider-2e757d904e62dbf5bc0b028626fa9319ccc38c45.zip packages_providers_ContactsProvider-2e757d904e62dbf5bc0b028626fa9319ccc38c45.tar.gz packages_providers_ContactsProvider-2e757d904e62dbf5bc0b028626fa9319ccc38c45.tar.bz2 |
Notify callog uri if a change is made through voicemail provider.
DbModifierWithVmNotification till now only notified to voicemail uri
content observers for change made through call log provider. We need the
otherway round as well so that any change made to a voicemail entry
through the voicemail provider should be notified to listeners of
calllog uri. This is needed to make call log auto refresh work when a new
voicemail is inserted.
DbModifierWithVmNotification is now renamed to DbModifierWithNotification
and suports both ways notification. Notifications generated by call log
provider as well is now routed through this class.
Bug: 5055868
Change-Id: I2de8c9867445bcb86ce94a8600acc726266c8008
Diffstat (limited to 'src/com/android/providers/contacts/VoicemailStatusTable.java')
-rw-r--r-- | src/com/android/providers/contacts/VoicemailStatusTable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/providers/contacts/VoicemailStatusTable.java b/src/com/android/providers/contacts/VoicemailStatusTable.java index 504af46..24714ed 100644 --- a/src/com/android/providers/contacts/VoicemailStatusTable.java +++ b/src/com/android/providers/contacts/VoicemailStatusTable.java @@ -121,6 +121,6 @@ public class VoicemailStatusTable implements VoicemailTable.Delegate { } private DatabaseModifier getDatabaseModifier(SQLiteDatabase db) { - return new DbModifierWithVmNotification(mTableName, db, mContext); + return new DbModifierWithNotification(mTableName, db, mContext); } } |