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/CallLogProvider.java
|
64605820a3c27ca1d1bf2499aea8418bb80621d0 |
|
15-May-2015 |
Yorke Lee <yorkelee@google.com> |
Fix NPE in CallLogProviderWorker Bug: 20979730 Change-Id: I8ccaa27613804891b958dd82ac2debeb0dad762b
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
77b65aa3d1c2db02ce664c4b31e10370efe645cb |
|
23-Apr-2015 |
Yorke Lee <yorkelee@google.com> |
Grant VoicemailContentProvider permissions to default or system dialers Bug: 20333102 Change-Id: Icb54620cf9241b3999bcb3de1b73394c71becb2f
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
693406016fa0b02b4af4188fd9668a3d74881652 |
|
09-Mar-2015 |
Makoto Onuki <omakoto@google.com> |
Cache photo URI too in calllog Enterprise phone lookup returns special photo URLs for corp contacts, which can't be obtained just with contact IDs. So we need to cache the URIs too and otherwise pictures sometimes don't show up. Bug 19546108 Change-Id: I48517da681c194b6ee4ca47dda57ccff81e76981
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
f7076a627db99f9e845d406650d73be826091367 |
|
03-Mar-2015 |
Santos Cordon <santoscordon@google.com> |
Unhide call log entries by phone number. If the phone account does not match any call log entries, then run the unhiding query by the phone number instead of the specific phone account. This addresses the cases where a user gets a new SIM card for their existing phone number (e.g., switching service providers). Change-Id: Ib0d5e5a36ad7445e95148470c45d8fdabd9125f7
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
b39eeb4f07db680e542ccaf142136a42f9d305f8 |
|
27-Feb-2015 |
Santos Cordon <santoscordon@google.com> |
Hide unregistered phone account call log entries. Change-Id: I238882e0dd3e63747a4eedcf3ff2af2c8d770dd4
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
423f9bc8fed50e2caacd6f99f3160494f15c0a67 |
|
12-Feb-2015 |
Santos Cordon <santoscordon@google.com> |
Upgrade calllog DB to use ICC ID & source_phone_number. To accomodate backup and restore of the call log, we have to convert the existing sub-ID to an ICC ID. Also, add the source_phone_number to the list of call log columns. The ICC ID improves backup and restore because it is persistent across different devices where a sub ID is not. If the user completely changes their SIM card, the source_phone_number will be helpful in identifying that scenario if the user kept their old phone. Change-Id: Ib35e25216691e580b5ea539929ff16b2e3d30b88
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
3a219cc3f5045bdebfcd975bf857c6ff26886a22 |
|
25-Oct-2014 |
Yorke Lee <yorkelee@google.com> |
Sync call log entries to secondary user on background thread Add code (similar to CP2) to offload tasks onto a background thread. This is a bit overkill for now but will be useful when we add stuff like call log syncing. Also add some new methods to MockUserManager needed to pass tests. Bug: 18056687 Change-Id: If51f64895d16029ecca1d1c46573324891e1d4d0
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
274d8ef297b883065bf108e4e26caaa9707ddf79 |
|
10-Aug-2014 |
Yorke Lee <yorkelee@google.com> |
Block access to call logs from the corp profile Bug: 16812842 Change-Id: Ie4342b5efb2419097c35c0ddebd486a098cea523
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
1d69b2f3576af29b1653ccb372142e04e3e158e9 |
|
24-Jul-2014 |
Yorke Lee <yorkelee@google.com> |
Add Calls.TRANSCRIPTION to CallLog (1/2) Dialer needs access to the TRANSCRIPTION column via the CallLog to show voicemail transcriptions inline. Change-Id: Id1807923a07af9e9e34783e6be2e39485eee7795
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.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/CallLogProvider.java
|
3b34457a4cc0d2c55676f366ddc673091a198adb |
|
17-Jul-2014 |
Yorke Lee <yorkelee@google.com> |
Sync call log entries from the primary user into the secondary user's call log On startup of a secondary user's call log provider, sync any call log entries from the primary user's call log that are: 1) Newer than the last sync time 2) Not a voicemail 3) Not a duplicate entry (identified by the number, and start time of the call) Bug: 16298776 Change-Id: I843dfd8dd5c9433942e610cbbc2dfed95c29dd1c
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
a315de3cb1c62569f7de1f25ec5b4ad425ebdf07 |
|
10-Jul-2014 |
Tyler Gunn <tgunn@google.com> |
Add features and data_usage columns to calls table. Bug: 16015261 Change-Id: I08d28a5af5b52cc8ca2e03e6db82f68807c1f69f
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
2a836304091bf37a466c3a56e3b880222f518063 |
|
09-Jul-2014 |
Yorke Lee <yorkelee@google.com> |
Merge "Add manage voicemail permission (2/4)"
|
b078d625665a07e1349bcf7b3c6eff56400f9917 |
|
02-Jul-2014 |
Ihab Awad <ihab@google.com> |
Fix references to two constants The names of two constants missed getting updated in a previous CL, causing a build breakage. Change-Id: I4853b8647c69bf2b12de43dc8a67fca75822fb14
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
e7c49d796e7e7043b3f2f8e3e7b274b3ba706756 |
|
01-Jul-2014 |
Ihab Awad <ihab@google.com> |
Rename Telecomm "Subscription" to "Account" (5/7) Change-Id: If42f8c76ad0d347a3b387de4fa806148a0a2d780
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.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/CallLogProvider.java
|
6749114ea49788806973a7dea493a5ac52b00a8c |
|
23-Jun-2014 |
Nancy Chen <nancychen@google.com> |
Update database schema for saving of subscription info in call log Added fields "component_name" and "subscription_id" to call log table in order to save information about the subscription responsible for placing a call. Additionally made sure relevant tests pass. Bug: 15473965 Change-Id: I0ed99452c3cdfdba31f1a71fb342406b0652e282
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
3ccaf5590a7ed2fca780f9b7fc46328d0f78a2ee |
|
17-Jun-2014 |
fafaisland <fafaisland@google.com> |
Add READ_ALL_VOICEMAILS Permision to VoicemailPermissions, VoicemailContentProvider and CallLogProvider Bug:15695227 Change-Id: I244541c847c07450535a52d0bf38199b55387202
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
a16c2509fa398159988861a3fc8408b493fa445b |
|
01-Oct-2013 |
Christine Chen <christinech@google.com> |
Filtes out legacy number in call logs Bug: 10966248 Change-Id: I297925f336114d98c1109158e19546e81f03fe90
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
e31bbc395fc04e9c5f841e8e76475d98c8332271 |
|
10-Jun-2013 |
Jay Shrauner <shrauner@google.com> |
Add number presentation column to call log table Add number presentation column to call log table and convert older call logs to use the new column. Bug:6948882 Change-Id: I0e8f781d30600e3bfb08d8b89a1cade531e18c7f
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
ee1267f05b98218d26f39875949cbc66a8a9b71d |
|
21-May-2013 |
Jay Shrauner <shrauner@google.com> |
Clean up int data conversion calls Catch various places we would crash if a data column didn't parse as expected as an int or long. Bug:9050606 Change-Id: I241e8a2b158eea89a2b86ca20d3b93379668084d
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
c9626e7befd591923c6af859ad079abba8a84e41 |
|
15-Jan-2013 |
Dianne Hackborn <hackbod@google.com> |
Start tracking content provider app ops. Change-Id: I899c3ae507a0e4feb95c8142b09b92e1fd87eefe
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
143bb522fcfb4a08c7f112876f3fac1cf47cf5ae |
|
02-Aug-2012 |
Chiao Cheng <chiaocheng@google.com> |
Adding limit and offset parameters to calllog provider. Allow client to pass in limit and offset parameters in uri. Bug: 6849968 Change-Id: I535086449bfa76a5d8bc66567070141b76d19503
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.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/CallLogProvider.java
|
9978b26dd17bb2b20b91101f1e4682604336b5f6 |
|
15-Nov-2011 |
Flavio Lerda <flerda@google.com> |
Use integer constant when adding filtering clause. Currently we are quoting an integer constant when generating the filtering clause that excludes voicemails from the set of calls returned to applications querying the default call log URI. Pass the integer to the helper function, so that we can avoid quoting. Change-Id: I1e460d2c8d3b04047cf4a1f4e1209b3e4ba5053b
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
13ed28505ed1af4f0b4a6297c4c6840d91f10c8c |
|
01-Oct-2011 |
Flavio Lerda <flerda@google.com> |
Add new column for cached formatted number. Bug: 5316982 Change-Id: I2870778c8056468730d82794ddae90c74cab85fc
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
f402aaf776fee29d8044d97979b16695f24086dd |
|
05-Sep-2011 |
Flavio Lerda <flerda@google.com> |
Fix voicemail tests. The problem is that we run this query locally (within the same process) in the tests and this means that the content values passed in were modified and later re-used (assuming it would not contain the extra, generated columns). The solution is to always make a copy of the content values before modifying them in the provider (which is the safest way anyway). Bug: 5226211 Change-Id: I972111821a4af1e1d3df2dc47189d664a7303683
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
c4144727cd740079f47e74ae5078d1613874f72a |
|
29-Aug-2011 |
Makoto Onuki <omakoto@google.com> |
Lazily-initialize PhoneNumberOfflineGeocoder/PhoneNumberUtil - They were indirectly created in VoicemailContentProvider.onCreate and CallLogProvider.onCreate, and were slow. It was taking ~300ms on my measurement on a nexus-s. Also it touched the filesystem, so it can be much slower on worn-out flash or when flash is busy. - Doing it in a provider's onCreate means it affects auto-complete performance if acore is not started. Also it'll affect app-startup when we merge processes. - But they were actually only used when inserting a call log, so we don't have to initialize them at startup. - Inserting a call-log should be done in a worker thread, so lazy- initialization shouldn't cause laggy UI. (Alternatively, we could initialize them in a worker thread at startup, but I don't think it's worth it.) - Also, now CallLogProvider and VoicemailContentProvider share the same instance of DefaultCallLogInsertionHelper. (They used to have their own) same instance of DefaultCallLogInsertionHelper doesn't have any instance specific state, so this should be safe. Bug 5220669 Change-Id: Ibcd664ed683507c5dcac88bec736e4903a4a7032
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
663b8b8ce7a29fb2796dc6431f2cd5992934f315 |
|
28-Aug-2011 |
Makoto Onuki <omakoto@google.com> |
Add log to measure startup performance Use this to enable log: adb shell setprop log.tag.ContactsPerf VERBOSE Bug 5195464 Change-Id: I8348dffb050c562e708ab81405d556625794fdf3
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
7a24e1c1476b57a6268de8d57e5ef4a2d5f46794 |
|
21-Aug-2011 |
Flavio Lerda <flerda@google.com> |
Add a few columns for caching to the call log. These columns store additional information about the contact associated with a call log entry and are needed by the new functionality present in the call log. This change matches the newly defined columns in android.provider.CallLog. Bug: 5101753 Change-Id: Ife45e7034af098bf0e1ca35d05bb389a2c47909a
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.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/CallLogProvider.java
|
aeaba441ddb05dede8bd86291ca78f42d670d54c |
|
09-Aug-2011 |
Flavio Lerda <flerda@google.com> |
Automatically add a geocoded location to entries in the call log. This change adds a geocoded location value to entries added to the call log. One limitation is that this is unaware of changes to the locale. We needed to decide whether this is fine or if we should update the stored geocode on locale changes. Bug: 5129581 Change-Id: I2ad1b3fbd24491df2febf3e1fd615c16dd74398f
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
929a04e2830e30718930d96335dfb0a729b6ab91 |
|
23-Jul-2011 |
Debashish Chatterjee <debashishc@google.com> |
Improvements in voicemail broadcast notifications. This change fixes two primary issues: 1) If a voicemail record is modified through call log provider, a voicemail provider notification is now generated. 2) voicemail notifications are now sent with permission ALL if the receiving component packages is not the owner of the modified record. This ensures that a voicemail source (having OWN permission) gets notified only of changes for records that it owns. But a package that has ALL permissions get notified of everything, A new interface DatabaseModifier is now used by both voicemail as well as calllog provider to perform any operations that can modify the underlying table. DbModifierWithVmNotification implementation of this interface fires relevant notifications under the hoods. All logic related to sending notifications is now moved from VoicemailContentProvider to this new class. bulkInsert has no special treatment anymore. We now fall back to the framework's default implementation. It was complicated to optimize for provider_changed events for bulk insert when using the DatabaseModifier interface. TODO: I am yet to write unit tests for broadcast intents. I have done manual testing to make sure that they work. Also the existing unit tests pass, proving that none of the existing content provider operations are broken by using the DatabaseModifier wrapper. Bug: 5060354 Bug: 4974222 Change-Id: I0935105f146a71abeffbde634d79f8806b8e0ed2
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
b2197b235e3d96e7f70c24d548b7dac52dab88d8 |
|
21-Jul-2011 |
Flavio Lerda <flerda@google.com> |
Implement IS_READ column in content providers. Add support for the IS_READ column in the call log and voicemail content providers. This columns will be used to store whether a call log entry (currently only voicemail) has been read or otherwise consumed by the user. Bug: 5036195 Change-Id: I06840f9820f7d568a738c0307f4294c2b8c66031
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
92d97071e56110e0df7f25e6ebc92ff4ebf74a88 |
|
29-Jun-2011 |
Flavio Lerda <flerda@google.com> |
Use shared constants for call log with voicemails. Use the shared constants for accessing voicemails in the call log. Remove the local copies in the content provider. Change-Id: I1c026ab604201b73e4f6a057a8b725479c72c796
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
aafbe295d67686870c64c74a59e589d1dfb506fa |
|
20-Jun-2011 |
Debashish Chatterjee <debashishc@google.com> |
Introduced query param 'include_voicemails' for call_log uri. - by default only call entries (i.e. no voicemails) are returned. - if include_voicemails is set to true then also include voicemail records, but only if the caller has full voicemail permission. - voicemail record can only be inserted through call_log provider if include_voicemails is set. Change-Id: I98f6778ace64fa752dc0525c5ce4e5eb83b2e689
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
00e7c94b70f4b477653534dbe559d1759d796157 |
|
16-Jun-2011 |
Debashish Chatterjee <debashishc@google.com> |
Added checks in voicemail provider to not expose call_log fields. - Voicemail provider now has check to ensure that no field outside of its projection is accesible. - Moved functionality to check ContentValues against a projection map to DbQueryUtils. - Associated test cases. Change-Id: I23033c96f74f0ab981152f70e585c69ba5284602
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
59f6477e10203617f504857f7e9aee2fda393f4f |
|
07-Jun-2011 |
Debashish Chatterjee <debashishc@google.com> |
Introduced new voicemail fields in 'calls' table. The 'calls' table is going to be shared between the existing call_log provider, and to be added voicemail provider. This change adds all the columns needed to support voicemail in the 'calls' table. The call_log provider, however, uses only one additional field 'voicemail_uri', whereas all other new fields will exclusively be used the new voicemail provider. The change also ensures that the voicemail provider specific fields are not exposed through the call_log provider. Change-Id: Ieea4b14052b7e7e9db0e674138772b4e06b3f074
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
37c85b89cc989308749ea22b1ce29c59a47158ac |
|
08-Dec-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing strict mode violation in CallLogProvider. Bug: 3253978 Change-Id: I30ffcf1ffba47b2b6aa1e1df6c15728b84508803
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
89b7c2b6e0003b17d08002f02d6aeec9f9788c8d |
|
30-Nov-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Fixing LegacyContactImporterTest Bug: 3240203 Change-Id: Ib733141a31c648437fa5d7171e0bfd22a4911c0f
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
2530512f639c4979fd7371c7dd25dd67e8118124 |
|
26-Aug-2010 |
Bai Tao <michaelbai@google.com> |
Store the current country code in call log a. Created a CountryMonitor class to monitor country for CallLog and Contacts Provider b. Added a new field countryiso in calls table. c. Upgrade the database to 406. Change-Id: I894739c65672b017f8d634f0d9cd5dd11ac930d1
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
f604d0340a8578a0d4b34e5d6e0e7e212136af32 |
|
24-Mar-2010 |
Bai Tao <michaelbai@google.com> |
Remove the fake ContentChanged notification Change-Id: Ia1f996415f1a46ae60144eb166d531a99778e49c
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
b38ed2c5ffeb20efc677b4a9229db4a00603aa8d |
|
29-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Renaming OpenHelper to ContactsDatabaseHelper Change-Id: Iccdf1ebcd8a3ab430941c957f712bb9e7dd2706c
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
3a6a49cfb06272e3e25f3c390a9cf4002da6e34d |
|
20-Sep-2009 |
Daisuke Miyakawa <dmiyakawa@google.com> |
Use strict phone number comparation algorithm if the config tells the package to do so. This change must come after the change 25941. Internal issue id: 1892808
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
6f157d1cfb219f80d375c1357bfbdc5bf599d91a |
|
17-Sep-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
[Issue 2123481] Adding notifications to CallLogProvider Change-Id: Ie459eba74349b264fb5379079078e7a005f5ec71
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|
e99988b266dd1263162583e81e2b408e7329b1c8 |
|
29-Jul-2009 |
Dmitri Plotnikov <dplotnikov@google.com> |
Extracting call log implementation out of the legacy contacts provider.
/packages/providers/ContactsProvider/src/com/android/providers/contacts/CallLogProvider.java
|