Make InternalListener static to avoid referencing SpeechRecognizer.
Change-Id: I03bc1a5f5188551608395f3468aa69e622601820
(cherry picked from commit b37866db46)
This commit is contained in:
@@ -409,7 +409,7 @@ public class SpeechRecognizer {
|
||||
* Internal wrapper of IRecognitionListener which will propagate the results to
|
||||
* RecognitionListener
|
||||
*/
|
||||
private class InternalListener extends IRecognitionListener.Stub {
|
||||
private static class InternalListener extends IRecognitionListener.Stub {
|
||||
private RecognitionListener mInternalListener;
|
||||
|
||||
private final static int MSG_BEGINNING_OF_SPEECH = 1;
|
||||
|
||||
Reference in New Issue
Block a user