summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/searchfragment/list
diff options
context:
space:
mode:
authorzachh <zachh@google.com>2017-12-07 17:59:20 -0800
committerCopybara-Service <copybara-piper@google.com>2017-12-07 18:35:07 -0800
commit81a7b490ebbf2d9a4213a79b52e7b999aa076b7f (patch)
tree8cc90871e7cef664d498d359b57a95ff7a1b6a79 /java/com/android/dialer/searchfragment/list
parent36a384e04fd9b8ba1d53500afb7e0055e4e4bb99 (diff)
Implemented PhoneLookupDataSource#onSuccesfulFill.
Required adding applyBatch functionality to PhoneLookupHistoryContentProvider so that the updates can be performed in a transaction. This code was just copied and modified from AnnotatedCallLogContentProvider. Also removed the trigger which limited the size of the PhoneLookupHistory, since we now delete rows from PhoneLookupHistory when the last occurrence of a number is deleted from AnnotatedCallLog. Since AnnotatedCallLog is bounded to 1000 rows PhoneLookupHistory is now indirectly bounded by that as well. Bug: 34672501 Test: unit PiperOrigin-RevId: 178323464 Change-Id: I233163fe70641b0e4b1d4c5c0e8970ad0b4b167d
Diffstat (limited to 'java/com/android/dialer/searchfragment/list')
0 files changed, 0 insertions, 0 deletions