History log of /packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a0722de4886cdc06acf344052b70954415d25d80 13-Aug-2016 Ta-wei Yen <twyen@google.com> Mark voicemail as not new if it is updated as read

The voicemail notifications are tracking new voicemails. Once the
voicemail is set as read on the server it should no longer be treated
as new.

ACTION_NEW_VOICEMAIL will also be broadcasted when this event happens

+ Raise performance logging of VoicemailContentProvider.onCreate to
INFO as it should be related to b/29837276

Change-Id: Ic57bcbc6e8c0e61e1fe741ac1518bd5c6535fd7f
Fixes: 30105817
Bug: 29837276
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
dc653a5c1bed274512ce41e4a6129a65d2b0eeac 22-Dec-2015 Makoto Onuki <omakoto@google.com> Move CallLog and VoiceMailStatus to their own DB.

- Move the "calls" and "voicemail_status" tables to the new
"calllog.db" database.

- Migrate all data into it.

- Remove the old tables in contacts2.db

- VoicemailContract.Status.SOURCE_PACKAGE is no longer UNIQUE

Bug 26247586

Change-Id: I003d49b8fb150c21a34830bc62e8c816ce2cd8cd
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
52cb1f8391fdf93ad90d675585a9c7e385e4a8d6 14-Dec-2015 Ta-wei Yen <twyen@google.com> Add QUOTA_OCCUPIED and QUOTA_TOTAL to VOICEMAIL_STATUS table.

Add LAST_MODIFIED to CALLS table.

+ Bump database version to 1109
+ Update LAST_MODIFIED when CALLS table is inserted/updated/
marked deleted.

Bug:22013880
Bug:25197644

Change-Id: I19512dd93179def0dafb386894acf09b0a49fb1b
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
b50aef5535403ca212f5785529e4b2f1709fe107 13-Oct-2015 Santos Cordon <santoscordon@google.com> Update calllogbackup's new package name.

Bug: 24783945
Change-Id: I8e37520649abfff3f55652376456bc8ee561285a
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
47fc56dd40613fae565d0c4d630f5f0b5fc310ff 20-May-2015 Yorke Lee <yorkelee@google.com> Fix broken CP2 unit tests and voicemail cleanup

* Delete voicemails when VoicemailCleanupService runs by
checking whether delete is called internally.
* Delete unnecessary MockPackageManager class, and consolidate
all logic into ContactsMockPackageManager
* Separate permissions tests and delete logic tests in
VoicemailProviderTest
* Correct the number of exposed Call columns in CallLogProviderTest

Bug: 20669398
Change-Id: I695b82b639b93f3ce85bf6e20000279f19e4a14a
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
fd8de127afaadccb3106609e203e9bf9f7c9deb9 16-Mar-2015 Vinit Deshpande <vinitd@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release'

Change-Id: I439330f8c022ce85005d84fd4286f4f1ffdced1c
f35365f25c85a3d72d78fedb1516fb94333af768 05-Mar-2015 Santos Cordon <santoscordon@google.com> Remove CallLogBackupAgent.

Moved to CallLogBackup.apk

Change-Id: I1aee3bb1dc4378bff0d346d424692bc60b3fdc40
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
0f74e8600ad744f2e4ba9c6a4cdadf5da5a20e83 03-Feb-2015 Nancy Chen <nancychen@google.com> Upgrade voicemail_status and calls tables for visual voicemail.

Do a database upgrade for MNC in order to add multi-SIM fields to the
voicemail_status table and add "dirty" and "deleted" fields to
voicemails table. Add functionality in DbModifierWithNotification to
handle "dirty" and "deleted" appropriately. This new functionality is
tested in VoicemailProviderTest and CallLogProviderTest.

Bug:19236241
Change-Id: I25ebba0bdb5f720e48beaf17dbdd2846e494da74
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
fd6ef515b5c582c540b260c87cfb493bbd044643 13-Feb-2015 Santos Cordon <santoscordon@google.com> Simple Backup Agent for the call log.

Simple skeleton agent that reads the state of the call log. Does not
actually do any backup. It logs what calls it would backup and what
calls it would remove from backup. A subsequent CL will add the actual
backup/restore of calls.

Change-Id: Id8832c78a9a5aea71022b45c3cef79ca0b54f584
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
c7ad9cf70433ea44746208ff56da910346f7e066 16-Jan-2015 Jay Shrauner <shrauner@google.com> Fix log TAG that was too long

Log tags >25 characters are dropped, so abbreviate

Bug: 19030945
Change-Id: I3a66ffcb41977db24e2e3ff16e6f22b530a78584
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
2ad39edbd856f3ea1177788aff7e653e593781eb 19-Jul-2014 Yorke Lee <yorkelee@google.com> Rename voicemail permissions

Rename READ_ALL_VOICEMAIL to READ_VOICEMAIL, and MANAGE_VOICEMAIL
to WRITE_VOICEMAIL
Bug: 16400686

Change-Id: I45d841b886c2bbe230c2f13fddbce41a729b6c61
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
ab2ec1d4316770e2ce8dc47dd1ae71430cd70e36 25-Jun-2014 Yorke Lee <yorkelee@google.com> Add manage voicemail permission (2/4)

Update CallLogProvider and VoicemailProvider to provide read/write access to
voicemails based on their respective permissions.

Also update tests to reflect the new world.

Bug: 6948882

Change-Id: I26e960eae24dc1b8bd4a372420d4c42f242c88d3
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
38210445730ee04c351c7cc1b3800cfe23e34325 27-Jun-2012 Makoto Onuki <omakoto@google.com> Reorganize import in contacts provider

Change-Id: If3afb134ea36bd93859efcd114885526e1592b91
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java
2e757d904e62dbf5bc0b028626fa9319ccc38c45 09-Aug-2011 Debashish Chatterjee <debashishc@google.com> 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
/packages/providers/ContactsProvider/src/com/android/providers/contacts/DbModifierWithNotification.java