Android Stranger phone does not show its place of attribution

Source: Internet
Author: User

Modify Defaultcallloginsertionhelper.java (alps\packages\providers\contactsprovider\src\com\android\ providers\contacts)

@Override

public void Addcomputedvalues (Contentvalues values) {

Insert The current country code, so we know the country the number belongs to.

String Countryiso = Getcurrentcountryiso ();

M: @{

LOG.D (TAG, "addcomputedvalues () Countryiso = = [" + Countryiso + "]");

LOG.D (TAG, "addcomputedvalues () geocoded = = [" + Getgeocodedlocationfor (values.getasstring (Calls.number), CountryIso) +"]");

/// @}

Values.put (Calls.country_iso, Countryiso);

Insert the geocoded location, so, we don't need to compute it on the fly.

//MTK Add

String name = values.getasstring (calls.name);

if (name = = NULL | | name.equals (")") {

Return

}

//MTK Add End

Values.put (Calls.geocoded_location,

Getgeocodedlocationfor (Values.getasstring (Calls.number), Countryiso));

}

Android Stranger phone does not show its place of attribution

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.