telephony: Enable qti-telephony-common aosp_usr_pref_sel

* This allows us to set calling account to 'Ask every time'
  without it being reset to sub 1 every boot.
  
 [marcomarinho]: we need this only when gapps are built so let's add a condition here

Change-Id: Ifb204fd07ec232fe3c55a92b6fc286786782c28b
Signed-off-by: Mesquita <mickaelmendes50@gmail.com>
This commit is contained in:
LuK1337 2020-07-22 10:55:32 -03:00 committed by Jake Weinstein
parent 963a734ae4
commit 53aa724b62
1 changed files with 7 additions and 0 deletions

View File

@ -23,5 +23,12 @@ PRODUCT_PACKAGES += \
android.hardware.radio.deprecated@1.0 \ android.hardware.radio.deprecated@1.0 \
librmnetctl librmnetctl
ifneq ($(TARGET_DISABLES_GAPPS), true)
# Dual SIM - allow setting calling account to 'Ask every time'
# rather than resetting to sub 1 every boot
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.vendor.radio.aosp_usr_pref_sel=true
endif
# Get non-open-source specific aspects # Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/qcom/common/telephony/telephony-vendor.mk) $(call inherit-product-if-exists, vendor/qcom/common/telephony/telephony-vendor.mk)