summaryrefslogtreecommitdiffstats
path: root/core/java/android/speech
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2014-04-10 17:14:50 +0100
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2014-04-10 16:17:09 +0000
commit5decae39b6fd2091db000120f0c86aa27efa29ed (patch)
treed4e7b581d9f641138a2bd37e66d222b738765e0b /core/java/android/speech
parent2271a91c327cee8a6c1dffcbfd3419c95d56c37e (diff)
downloadframeworks_base-5decae39b6fd2091db000120f0c86aa27efa29ed.zip
frameworks_base-5decae39b6fd2091db000120f0c86aa27efa29ed.tar.gz
frameworks_base-5decae39b6fd2091db000120f0c86aa27efa29ed.tar.bz2
Remove "final" from TextToSpeechClient class.
It hinders attempts to mock the TextToSpeechClient class in tests. + javadoc typo fix Change-Id: I5b4590824d7e89b58451bdde457a627786333373
Diffstat (limited to 'core/java/android/speech')
-rw-r--r--core/java/android/speech/tts/TextToSpeechClient.java4
1 files changed, 2 insertions, 2 deletions
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.
* <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();