Android stores the same numbers with different prefixes A and B, respectively. When one call is used, the call record keeps displaying the name of another contact.

Source: Internet
Author: User

1. edit a mobile phone number such as A: 13821002397 and save it to your mobile phone.

2. edit a mobile phone number such as B: + 8613821002397 and save it to your mobile phone.

3. Dial number input + 8613821002397 dial

4. The result call interface is displayed as B, and the call record is displayed as.

Change file: Find calllogprovider. Java

Before modification:

Namecursor = dialersearchutils. queryphonelookupbynumber (dB, mdbhelper,

Strinsnumber, new string [] {

Phonelookupcolumns. data_id, phonelookupcolumns. raw_contact_id

}, Null, "1 ");

After modification:

Namecursor = dialersearchutils. queryphonelookupbynumber (dB, mdbhelper,

Strinsnumber, new string [] {

Phonelookupcolumns. data_id, phonelookupcolumns. raw_contact_id, phone. Number

}, Null, null );

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.