Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e098f64a authored by Diogo Ferreira's avatar Diogo Ferreira Committed by Gerrit Code Review
Browse files

SubscriptionController: Default to DDS flexmap triggering

This changes the default so that the AOSP behavior prevails over
qualcomm-specific implementations that use telephony-fwk.

This change explicitly triggers a request to update modem capabilities
when the data sub is changed thus allowing the second subscription
to go over 2G, which wasn't possible previously.

Change-Id: I20dd586ea74af7ba8ef6a1ce1cdd26c07d33d844
parent 6d6213a3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1410,7 +1410,7 @@ public class SubscriptionController extends ISub.Stub {
    public void setDefaultDataSubId(int subId) {
        enforceModifyPhoneState("setDefaultDataSubId");
        String flexMapSupportType =
                SystemProperties.get("persist.radio.flexmap_type", "nw_mode");
                SystemProperties.get("persist.radio.flexmap_type", "dds");

        if (subId == SubscriptionManager.DEFAULT_SUBSCRIPTION_ID) {
            throw new RuntimeException("setDefaultDataSubId called with DEFAULT_SUB_ID");