diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2010-03-18 14:50:06 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2010-03-18 14:50:06 -0700 |
commit | 54a3dcdbef2361670def6db94b7f89166fe2c41e (patch) | |
tree | 463ced1534a1e45f7d61697ba63d45cc0c7a070d /packages/TtsService | |
parent | a0d6b59d875edb54b1c820fd4573552989c3869b (diff) | |
download | frameworks_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
Diffstat (limited to 'packages/TtsService')
-rwxr-xr-x | packages/TtsService/src/android/tts/SynthProxy.java | 4 |
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); |