7c5e4cbf2f
Considering sensitive phone numbers to be, hotlines dealing with violence against women. In the EU, these numbers do not show up in the phone bill. In order to avoid these phone numbers to be listed in the Call Log, we have implemented a new XML file which is parsed with phone numbers from different countries to be filtered. This file needs to be copied to device via desired Android.mk file in order to be able to process it. The comparison is made checking the network MCC the SIM is connected to in order to consider roaming and multisim scenarios. Test: CallLogManagerTest.testDontLogCallsToSensitivePhoneNumber PASS Change-Id: I2e78d0f3e13d1ad1298613651ece136e30b86dfe Signed-off-by: Olaia Segovia <olaia.segovia@bq.com>
17 lines
430 B
Makefile
17 lines
430 B
Makefile
# Sensitive Phone Numbers list
|
|
PRODUCT_COPY_FILES += \
|
|
vendor/cm/prebuilt/common/etc/sensitive_pn.xml:system/etc/sensitive_pn.xml
|
|
|
|
# World APN list
|
|
PRODUCT_COPY_FILES += \
|
|
vendor/cm/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml
|
|
|
|
# Telephony packages
|
|
PRODUCT_PACKAGES += \
|
|
messaging \
|
|
Stk \
|
|
CellBroadcastReceiver
|
|
|
|
# Default ringtone
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.config.ringtone=Orion.ogg
|