Merge change 3223 into donut

* changes:
  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:
Android (Google) Code Review
2009-06-05 13:29:21 -07:00
2 changed files with 67 additions and 0 deletions

View File

@ -107280,6 +107280,50 @@
visibility="public"
>
</field>
<field name="TTS_DEFAULT_PITCH"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;tts_default_pitch&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="TTS_DEFAULT_RATE"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;tts_default_rate&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="TTS_DEFAULT_SYNTH"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;tts_default_synth&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="TTS_USE_DEFAULTS"
type="java.lang.String"
transient="false"
volatile="false"
value="&quot;tts_use_defaults&quot;"
static="true"
final="true"
deprecated="not deprecated"
visibility="public"
>
</field>
<field name="USB_MASS_STORAGE_ENABLED"
type="java.lang.String"
transient="false"

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>