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

Commit 6b519818 authored by Diaesh Antony's avatar Diaesh Antony Committed by Mars Lin
Browse files

Add Settings.Global keys for Dsrm plus feature



Bug: 283897403
Test: atest SettingsBackupTest

Change-Id: I1db4dbe10a5da67e97365cfb571f3eb682ca67e5
Signed-off-by: default avatarDiaesh Antony <diaeshantony@google.com>
parent 5c8ee219
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -12612,6 +12612,26 @@ public final class Settings {
        @Readable
        public static final String MOBILE_DATA_ALWAYS_ON = "mobile_data_always_on";
        /**
         * The duration in milliseconds of each action, separated by commas. Ex:
         *
         * "18000,18000,18000,18000,0"
         *
         * See com.android.internal.telephony.data.DataStallRecoveryManager for more info
         * @hide
         */
        public static final String DSRM_DURATION_MILLIS = "dsrm_duration_millis";
        /**
         * The list of DSRM enabled actions, separated by commas. Ex:
         *
         * "true,true,false,true,true"
         *
         * See com.android.internal.telephony.data.DataStallRecoveryManager for more info
         * @hide
         */
        public static final String DSRM_ENABLED_ACTIONS = "dsrm_enabled_actions";
        /**
         * Whether the wifi data connection should remain active even when higher
         * priority networks like Ethernet are active, to keep both networks.
+2 −0
Original line number Diff line number Diff line
@@ -345,6 +345,8 @@ public class SettingsBackupTest {
                    Settings.Global.MIN_DURATION_BETWEEN_RECOVERY_STEPS_IN_MS,
                    Settings.Global.MOBILE_DATA, // Candidate for backup?
                    Settings.Global.MOBILE_DATA_ALWAYS_ON,
                    Settings.Global.DSRM_DURATION_MILLIS,
                    Settings.Global.DSRM_ENABLED_ACTIONS,
                    Settings.Global.MODE_RINGER,
                    Settings.Global.MULTI_SIM_DATA_CALL_SUBSCRIPTION,
                    Settings.Global.MULTI_SIM_SMS_PROMPT,