Merge "Fix bug where the setConfig method in SynthProxy has the wrong signature."
This commit is contained in:
committed by
Android (Google) Code Review
commit
caa5ac3d1e
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user