We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8a8658a + 2b0c7ab commit 75370e7Copy full SHA for 75370e7
core/java/android/speech/RecognitionService.java
@@ -118,7 +118,7 @@ private void dispatchStopListening(IRecognitionListener listener) {
118
119
private void dispatchCancel(IRecognitionListener listener) {
120
if (mCurrentCallback == null) {
121
- Log.w(TAG, "cancel called with no preceding startListening - ignoring");
+ if (DBG) Log.d(TAG, "cancel called with no preceding startListening - ignoring");
122
} else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) {
123
Log.w(TAG, "cancel called by client who did not call startListening - ignoring");
124
} else { // the correct state
0 commit comments