summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2009-06-04 14:55:24 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2009-06-05 11:29:16 -0700
commitf62ba452bb07407f577cabecde14bfad101d7f43 (patch)
treee9823536424790f37d8c816b5c6bfeeda74ce7df /core/java/android/provider
parent716b56817aee1c0b584266a686b18a1c02ea0116 (diff)
downloadframeworks_base-f62ba452bb07407f577cabecde14bfad101d7f43.zip
frameworks_base-f62ba452bb07407f577cabecde14bfad101d7f43.tar.gz
frameworks_base-f62ba452bb07407f577cabecde14bfad101d7f43.tar.bz2
Adding new Settings.Secure properties for the Text-To-Speech functionality.
Those properties are secure to prevent applications from altering the user's settings without his knowledge.
Diffstat (limited to 'core/java/android/provider')
-rw-r--r--core/java/android/provider/Settings.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 7ec3be6..42a5075 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -1924,6 +1924,29 @@ public final class Settings {
"enabled_accessibility_services";
/**
+ * Setting to always use the default text-to-speech settings regardless
+ * of the application settings.
+ * 1 = override application settings,
+ * 0 = use application settings (if specified).
+ */
+ public static final String TTS_USE_DEFAULTS = "tts_use_defaults";
+
+ /**
+ * Default text-to-speech engine speech rate. 100 = 1x
+ */
+ public static final String TTS_DEFAULT_RATE = "tts_default_rate";
+
+ /**
+ * Default text-to-speech engine pitch. 100 = 1x
+ */
+ public static final String TTS_DEFAULT_PITCH = "tts_default_pitch";
+
+ /**
+ * Default text-to-speech engine.
+ */
+ public static final String TTS_DEFAULT_SYNTH = "tts_default_synth";
+
+ /**
* Whether to notify the user of open networks.
* <p>
* If not connected and the scan results have an open network, we will