[FEATURE PROPOSAL]Call log : batch delete and search options

As the call log tends to grow indefinitely, purging it / keeping it at a reasonable size by deleting call entries one by one is not an option.
That’s why I propose to offer the following options :

  • mass delete options through the existing contextual menu upon selecting an entry : delete all from same number, delete all from same contact (seen on some proprietary phone app in the past)
  • an option for one-time deleting calls older than a selectable date (could also be done on the aforementioned context menu : delete calls older than this one)
  • perhaps a few user-configurable settings for limiting the call log size : max number of entries, e.g. 1000, expiration duration e.g. a year

On another side, convenient searching through the call log would require :

  • at least a scrollbar like the one in the address book (when doing a vertical sliding gesture along the right border, a slider appears and shows the first letter) : the slider may then show the date in this case
  • even better : some filtering options (mainly, dynamically by typing for the name and/or the phone number, or also by date range too)

here’s the deletion ui of the Dialer: android_packages_apps_Dialer/java/com/android/dialer/calllog/ui/menu/DeleteCallLogItemModule.java at lineage-22.1 · LineageOS/android_packages_apps_Dialer · GitHub

I proposed to merge multiselect / select-all removal into Contacts but it hinges on a license mixup. The code would be similar.