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.
This commit is contained in:
Jean-Michel Trivi
2009-06-04 14:55:24 -07:00
parent 716b56817a
commit f62ba452bb
2 changed files with 67 additions and 0 deletions

View File

@@ -1923,6 +1923,29 @@ public final class Settings {
public static final String ENABLED_ACCESSIBILITY_SERVICES =
"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>