summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--api/current.txt2
-rw-r--r--core/java/android/speech/tts/TextToSpeechClient.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt
index 15351de..71c278d 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -24803,7 +24803,7 @@ package android.speech.tts {
method public abstract void onUtteranceCompleted(java.lang.String);
}
- public final class TextToSpeechClient {
+ public class TextToSpeechClient {
ctor public TextToSpeechClient(android.content.Context, java.lang.String, boolean, android.speech.tts.TextToSpeechClient.RequestCallbacks, android.speech.tts.TextToSpeechClient.ConnectionCallbacks);
ctor public TextToSpeechClient(android.content.Context, android.speech.tts.TextToSpeechClient.RequestCallbacks, android.speech.tts.TextToSpeechClient.ConnectionCallbacks);
method public void connect();
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();