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

Commit 9ee8154e authored by Narayan Kamath's avatar Narayan Kamath
Browse files

Increase the visibility of SynthesisRequest

This makes it a lot easier for engine implementers
to test their engine. This is a dumb data object, and
contains no logic whatsoever.

Change-Id: I2a8bea134a8ff6b962508cfed67ea6085a682b23
parent d7c8b6d2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17586,6 +17586,7 @@ package android.speech.tts {
  }
  public final class SynthesisRequest {
    ctor public SynthesisRequest(java.lang.String, android.os.Bundle);
    method public java.lang.String getCountry();
    method public java.lang.String getLanguage();
    method public android.os.Bundle getParams();
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ public final class SynthesisRequest {
    private int mSpeechRate;
    private int mPitch;

    SynthesisRequest(String text, Bundle params) {
    public SynthesisRequest(String text, Bundle params) {
        mText = text;
        // Makes a copy of params.
        mParams = new Bundle(params);