summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2010-03-18 14:50:06 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2010-03-18 14:50:06 -0700
commit54a3dcdbef2361670def6db94b7f89166fe2c41e (patch)
tree463ced1534a1e45f7d61697ba63d45cc0c7a070d
parenta0d6b59d875edb54b1c820fd4573552989c3869b (diff)
downloadframeworks_base-54a3dcdbef2361670def6db94b7f89166fe2c41e.zip
frameworks_base-54a3dcdbef2361670def6db94b7f89166fe2c41e.tar.gz
frameworks_base-54a3dcdbef2361670def6db94b7f89166fe2c41e.tar.bz2
Fix bug where the setConfig method in SynthProxy has the wrong
signature. Change-Id: If04b9a1d6de6384d7f53efac4e60f1cd4d659625
-rwxr-xr-xpackages/TtsService/src/android/tts/SynthProxy.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/TtsService/src/android/tts/SynthProxy.java b/packages/TtsService/src/android/tts/SynthProxy.java
index 2a0bbeb..525a504 100755
--- a/packages/TtsService/src/android/tts/SynthProxy.java
+++ b/packages/TtsService/src/android/tts/SynthProxy.java
@@ -108,7 +108,7 @@ public class SynthProxy {
* Updates the engine configuration.
*/
public int setConfig(String engineConfig) {
- return native_setConfig(engineConfig);
+ return native_setConfig(mJniData, engineConfig);
}
/**
@@ -205,7 +205,7 @@ public class SynthProxy {
private native final int native_loadLanguage(int jniData, String language, String country,
String variant);
- private native final int native_setConfig(String engineConfig);
+ private native final int native_setConfig(int jniData, String engineConfig);
private native final int native_setSpeechRate(int jniData, int speechRate);