Make InternalListener static to avoid referencing SpeechRecognizer.

Change-Id: I03bc1a5f5188551608395f3468aa69e622601820
(cherry picked from commit b37866db46)
This commit is contained in:
Mark Renouf
2014-03-17 17:51:35 -04:00
parent 97a05b39fc
commit 297990806d

View File

@@ -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;