summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/calllog/CallLogCacheUpdater.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant @TargetApi, @RequiresApi and @SuppressWarningslinyuh2018-06-281-1/+0
| | | | | | Test: Existing tests PiperOrigin-RevId: 202589482 Change-Id: I6982e4069d30032bf46caf3c9984dfc0e7196f6f
* Avoid updating system call log cache when the call log is being builttwyen2018-06-281-4/+26
| | | | | | | | | | | | The initial build can contain up to 1000 rows, which may be more the what the system call log can handle with a batch operation. Initial build does not create any additional information, so the cache does not need to be updated. This CL also limits the cache updater to 100 rows as a safety measure. TEST=TAP Bug: 77292040 Test: TAP PiperOrigin-RevId: 202563376 Change-Id: Iff515ae2b76a19d63d9d794a0d443cc8332e83a4
* Update call log cache when annotated call log is updated.twyen2018-06-061-0/+129
If the NumberAttribute has changed the new data will be cached back to the call log. Also updated TestCallLogProvider to support selection with ID based URI. Note: currently the write will trigger an extra refresh, the next CL will address that. TEST=TAP Bug: 77292040 Test: TAP PiperOrigin-RevId: 199509348 Change-Id: I49c43adb5bcec96128d5ec36676c4569bf536490