Merge "Make InternalListener static to avoid referencing SpeechRecognizer."

This commit is contained in:
Mark Renouf
2014-03-18 01:58:25 +00:00
committed by Android (Google) Code Review

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;