Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge "Ignore "disconnected" broadcast when voice dial is done"

  • Loading branch information...
commit 2d94e3dfee7731f4ec7a620f12c8c756816e847f 2 parents 86b72a2 + 760cb97
authored November 29, 2011 Android (Google) Code Review committed November 29, 2011
2  src/com/android/voicedialer/VoiceDialerActivity.java
@@ -474,7 +474,7 @@ public void onReceive(Context context, Intent intent) {
474 474
                         mHandler.postDelayed(new GreetingRunnable(), FIRST_UTTERANCE_DELAY);
475 475
                     }
476 476
                 } else if (prevState == BluetoothHeadset.STATE_AUDIO_CONNECTED) {
477  
-                    if (!mWaitingForScoConnection) {
  477
+                    if (!mWaitingForScoConnection && mState != EXITING) {
478 478
                         // apparently our connection to the headset has dropped.
479 479
                         // we won't be able to continue voicedialing.
480 480
                         if (false) Log.d(TAG, "lost sco connection");

0 notes on commit 2d94e3d

Please sign in to comment.
Something went wrong with that request. Please try again.