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