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

Commit 3761277b authored by Ling Ma's avatar Ling Ma
Browse files

Adjust auto data switch score

After analyzing the switch cases, adjusted the score to make the performance based switch more conservative.

Fix: 400308765
Test: basic voice call + data browsing
Flag: EXEMPT config only
Change-Id: I96ee8a87d7c680928dd48066773d96b75d3eca76
parent 6fa5bdd1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@
         CarrierConfigManager#KEY_AUTO_DATA_SWITCH_RAT_SIGNAL_SCORE_STRING_ARRAY.
         If 0, the device always switch to the higher score SIM.
         If < 0, the network type and signal strength based auto switch is disabled. -->
    <integer name="auto_data_switch_score_tolerance">4000</integer>
    <integer name="auto_data_switch_score_tolerance">7000</integer>
    <java-symbol type="integer" name="auto_data_switch_score_tolerance" />

    <!-- Boolean indicating whether the Iwlan data service supports persistence of iwlan ipsec
+5 −5
Original line number Diff line number Diff line
@@ -11476,17 +11476,17 @@ public class CarrierConfigManager {
                        + "target=GERAN|UTRAN|EUTRAN|NGRAN|IWLAN, type=allowed"});
        PersistableBundle auto_data_switch_rat_signal_score_string_bundle = new PersistableBundle();
        auto_data_switch_rat_signal_score_string_bundle.putIntArray(
                "NR_SA_MMWAVE", new int[]{10000, 13227, 16000, 18488, 20017});
                "NR_SA_MMWAVE", new int[]{6300, 10227, 16000, 18488, 19017});
        auto_data_switch_rat_signal_score_string_bundle.putIntArray(
                "NR_NSA_MMWAVE", new int[]{8000, 10227, 12488, 15017, 15278});
                "NR_NSA_MMWAVE", new int[]{5700, 9227, 12488, 13517, 15978});
        auto_data_switch_rat_signal_score_string_bundle.putIntArray(
                "LTE", new int[]{3731, 5965, 8618, 11179, 13384});
        auto_data_switch_rat_signal_score_string_bundle.putIntArray(
                "LTE_CA", new int[]{3831, 6065, 8718, 11379, 13484});
                "LTE_CA", new int[]{3831, 6065, 8718, 11379, 14484});
        auto_data_switch_rat_signal_score_string_bundle.putIntArray(
                "NR_SA", new int[]{5288, 6795, 6955, 7562, 9713});
                "NR_SA", new int[]{2288, 6795, 6955, 7562, 15484});
        auto_data_switch_rat_signal_score_string_bundle.putIntArray(
                "NR_NSA", new int[]{5463, 6827, 8029, 9007, 9428});
                "NR_NSA", new int[]{2463, 6827, 8029, 9007, 15884});
        auto_data_switch_rat_signal_score_string_bundle.putIntArray(
                "UMTS", new int[]{100, 169, 183, 192, 300});
        auto_data_switch_rat_signal_score_string_bundle.putIntArray(