Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74612539 authored by Bjorn Bringert's avatar Bjorn Bringert Committed by Android Git Automerger
Browse files

am c8170ee2: am 75370e74: Merge "Fixing: RecognitionService logcat spam...

am c8170ee2: am 75370e74: Merge "Fixing: RecognitionService logcat spam "cancel called..."" into froyo

Merge commit 'c8170ee2' into kraken

* commit 'c8170ee2':
  Fixing: RecognitionService logcat spam "cancel called..."
parents a269d195 c8170ee2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ public abstract class RecognitionService extends Service {

    private void dispatchCancel(IRecognitionListener listener) {
        if (mCurrentCallback == null) {
            Log.w(TAG, "cancel called with no preceding startListening - ignoring");
            if (DBG) Log.d(TAG, "cancel called with no preceding startListening - ignoring");
        } else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) {
            Log.w(TAG, "cancel called by client who did not call startListening - ignoring");
        } else { // the correct state