From 5decae39b6fd2091db000120f0c86aa27efa29ed Mon Sep 17 00:00:00 2001 From: Przemyslaw Szczepaniak Date: Thu, 10 Apr 2014 17:14:50 +0100 Subject: Remove "final" from TextToSpeechClient class. It hinders attempts to mock the TextToSpeechClient class in tests. + javadoc typo fix Change-Id: I5b4590824d7e89b58451bdde457a627786333373 --- core/java/android/speech/tts/TextToSpeechClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/java') diff --git a/core/java/android/speech/tts/TextToSpeechClient.java b/core/java/android/speech/tts/TextToSpeechClient.java index c6a14f2..10e2073 100644 --- a/core/java/android/speech/tts/TextToSpeechClient.java +++ b/core/java/android/speech/tts/TextToSpeechClient.java @@ -57,7 +57,7 @@ import java.util.concurrent.atomic.AtomicInteger; * successful callback is the client usable. *

* 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(); -- cgit v1.1