MTK platform number attribution is divided into two types: 1. Cell phone number attribution place; 2. Fixed number attribution place;
Cell phone number attribution to:
MTK do it yourself, close only need to close mtk_phone_number_geodescription this option can;
The database file is located on the path alps/mediatek/external/geocoding/geocoding.db;
Only Chinese is supported.
Fixed number Attribution Place:
Is the Google Android system comes with, close need to comment out Google's original code;
The database file is in the same path as Alps/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/data
Multi-lingual support.
Problems you may encounter:
Domestic custom version It is possible to shut down Mtk_phone_number_geodescription will compile an error because there are some option dependency checks that are set up for compilation,
The OP01 or OP02 version is not allowed to turn off mtk_phone_number_geodescription, and if you want to close, you can remove the following check code:
Files: Android_dep_rule.mak
Location: Alps\mediatek\build\addon\core
# for phone number geo-description
Ifneq ($ (Filter op01% op02%, $ (optr_spec_seg_def)),)
Ifeq (no,$ (Strip $ (mtk_phone_number_geodescription)))
$ (call dep-err-seta-or-onb, Optr_spec_seg_def,none op01/op02,mtk_phone_number_geodescription)
endif
endif
If you do not close the mtk_phone_number_geodescription to close the attribution, take the following actions:
The geodescription can be set to an empty string in ①callerinfo.java, updategeodescription () null;
The Getgeocodedlocationfor () method in ②defaultcallloginsertionhelper.java returns an empty string null.
How to turn off Caller ID attribution in Android