summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2010-08-31 17:43:39 +0800
committerChung-yih Wang <cywang@google.com>2010-09-01 10:02:07 +0800
commit042e9bd989d9c78e23ed29011b6532743f510625 (patch)
tree14b035724f3fca6bbbdb6a1c5ebeee3d422f10cc /core/java/android/provider
parent361199b5e742c6635d4d7a03de6cf37b31cf442c (diff)
downloadframeworks_base-042e9bd989d9c78e23ed29011b6532743f510625.zip
frameworks_base-042e9bd989d9c78e23ed29011b6532743f510625.tar.gz
frameworks_base-042e9bd989d9c78e23ed29011b6532743f510625.tar.bz2
Add SIP related settings in the Settings.System.
Change-Id: I00b6daee42fa59b662a380f832f76e67ca9402bc
Diffstat (limited to 'core/java/android/provider')
-rw-r--r--core/java/android/provider/Settings.java39
1 files changed, 38 insertions, 1 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index ea26207..78a384b 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -1694,6 +1694,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.
* @hide
@@ -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