From 53aa724b6233d6991ca1a3a8767c6f7604c45d0d Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Wed, 22 Jul 2020 10:55:32 -0300 Subject: [PATCH] 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 --- telephony/qti-telephony.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/telephony/qti-telephony.mk b/telephony/qti-telephony.mk index 1fec6b07..24293015 100644 --- a/telephony/qti-telephony.mk +++ b/telephony/qti-telephony.mk @@ -23,5 +23,12 @@ PRODUCT_PACKAGES += \ android.hardware.radio.deprecated@1.0 \ 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 $(call inherit-product-if-exists, vendor/qcom/common/telephony/telephony-vendor.mk)