Custom Contacts DirectProvider is not called for some operations

I implemented a custom ContactDirectoryProvider that works great when the Contacts or Dialer applications look for contacts using the URI of the form content: //com.android.contacts/data/phones/filter

However, when InCallUI or CallLog try to get contact information using URis content: / contacts / phone_lookup, my provider’s request method is not called.

Any advice please ....

PS I did not implement a separate synchronization provider, maybe this is a problem?

+6
source share

Source: https://habr.com/ru/post/1016941/


All Articles