There are many merge contacts in Google account [email protected] with the same phone number in the contact, which results in the title and number of the group group (Phonebookindex), and the number of contacts in the search results list is not equal.
Because the SQL statement that searches to the contact list is grouped by phone number, the same number is treated as a single line.
Modify the Contactsprovider2.java file 2 places in the case Phone_email_filter branch:
Case Phone_email_filter: {
Settablesandprojectionmapfordata (QB, URI, projection, true);//Change the true to false;
......
GroupBy = Phone.data + "," + Email.data + "," + rawcontacts.contact_id; Replace this sentence with the following: GroupBy = "";
Android messages add recipients from contacts, and search results are sorted incorrectly when searching in the Contacts multi-select interface (contacts have Google accounts)