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

Commit 042e9bd9 authored by Chung-yih Wang's avatar Chung-yih Wang
Browse files

Add SIP related settings in the Settings.System.

Change-Id: I00b6daee42fa59b662a380f832f76e67ca9402bc
parent 361199b5
Loading
Loading
Loading
Loading
+38 −1
Original line number Diff line number Diff line
@@ -1693,6 +1693,41 @@ public final class Settings {
         */
        public static final String UNLOCK_SOUND = "unlock_sound";

        /**
         * Receive incoming SIP calls?
         * 0 = no
         * 1 = yes
         * @hide
         */
        public static final String SIP_RECEIVE_CALLS = "sip_receive_calls";

        /**
         * Call Preference String.
         * "SIP_ALWAYS" : Always use SIP with network access
         * "SIP_ADDRESS_ONLY" : Only if destination is a SIP address
         * "SIP_ASK_ME_EACH_TIME" : Always ask me each time
         * @hide
         */
        public static final String SIP_CALL_OPTIONS = "sip_call_options";

        /**
         * One of the sip call options: Always use SIP with network access.
         * @hide
         */
        public static final String SIP_ALWAYS = "SIP_ALWAYS";

        /**
         * One of the sip call options: Only if destination is a SIP address.
         * @hide
         */
        public static final String SIP_ADDRESS_ONLY = "SIP_ADDRESS_ONLY";

        /**
         * One of the sip call options: Always ask me each time.
         * @hide
         */
        public static final String SIP_ASK_ME_EACH_TIME = "SIP_ASK_ME_EACH_TIME";

        /**
         * Settings to backup. This is here so that it's in the same place as the settings
         * keys and easy to update.
@@ -1753,7 +1788,9 @@ public final class Settings {
            DOCK_SOUNDS_ENABLED,
            LOCKSCREEN_SOUNDS_ENABLED,
            SHOW_WEB_SUGGESTIONS,
            NOTIFICATION_LIGHT_PULSE
            NOTIFICATION_LIGHT_PULSE,
            SIP_CALL_OPTIONS,
            SIP_RECEIVE_CALLS
        };

        // Settings moved to Settings.Secure