How to turn off Caller ID attribution in Android

Source: Internet
Author: User

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

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.