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

Commit e50bf894 authored by Ling Ma's avatar Ling Ma
Browse files

Add config for auto data switch switch back case

When both phones are OOS, allow longer lingering time to maximize user's change of accessing internet.

Bug: 393553449
Test: manual repro + reviewed log
Test: basic voice call + data browsing
Flag: Flag: EXEMPT bugfix
Change-Id: I7de3aa38ba78dbd6e7a7931d7e03e343e51baa21
parent a015d7ee
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -64,6 +64,13 @@
    <integer name="auto_data_switch_performance_stability_time_threshold_millis">120000</integer>
    <java-symbol type="integer" name="auto_data_switch_performance_stability_time_threshold_millis" />

    <!-- Define the bar for switching data back to the default SIM when both SIMs are out of service
         in milliseconds. A value of 0 means an immediate switch, otherwise for a negative value,
         the threshold defined by auto_data_switch_availability_stability_time_threshold_millis
         will be used instead. -->
    <integer name="auto_data_switch_availability_switchback_stability_time_threshold_millis">150000</integer>
    <java-symbol type="integer" name="auto_data_switch_availability_switchback_stability_time_threshold_millis" />

    <!-- Define the maximum retry times when a validation for switching failed.-->
    <integer name="auto_data_switch_validation_max_retry">7</integer>
    <java-symbol type="integer" name="auto_data_switch_validation_max_retry" />