Remove "final" from TextToSpeechClient class.

It hinders attempts to mock the TextToSpeechClient
class in tests.

+ javadoc typo fix

Change-Id: I5b4590824d7e89b58451bdde457a627786333373
This commit is contained in:
Przemyslaw Szczepaniak
2014-04-10 17:14:50 +01:00
parent 2271a91c32
commit 5decae39b6
2 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ import java.util.concurrent.atomic.AtomicInteger;
* successful callback is the client usable.
* <p>
* After successful connection, the list of all available voices can be obtained
* by calling the {@link TextToSpeechClient#getEngineStatus() method. The client can
* by calling the {@link TextToSpeechClient#getEngineStatus()} method. The client can
* choose a voice using some custom heuristic and build a {@link RequestConfig} object
* using {@link RequestConfig.Builder}, or can use one of the common heuristics found
* in ({@link RequestConfigHelper}.
@@ -69,7 +69,7 @@ import java.util.concurrent.atomic.AtomicInteger;
* {@link ConnectionCallbacks#onEngineStatusChange} with new set of available voices as argument.
* In response, the client HAVE to recreate all {@link RequestConfig} instances in use.
*/
public final class TextToSpeechClient {
public class TextToSpeechClient {
private static final String TAG = TextToSpeechClient.class.getSimpleName();
private final Object mLock = new Object();