From 54a3dcdbef2361670def6db94b7f89166fe2c41e Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Thu, 18 Mar 2010 14:50:06 -0700 Subject: Fix bug where the setConfig method in SynthProxy has the wrong signature. Change-Id: If04b9a1d6de6384d7f53efac4e60f1cd4d659625 --- packages/TtsService/src/android/tts/SynthProxy.java | 4 ++-- 1 file 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); -- cgit v1.1