Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54a3dcdb authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

Fix bug where the setConfig method in SynthProxy has the wrong

signature.

Change-Id: If04b9a1d6de6384d7f53efac4e60f1cd4d659625
parent a0d6b59d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);