Fix HFP-dont-work-on-some-carkits bug. Send OK after AT+CHLD=?
Nick Pelly [Tue, 7 Jul 2009 01:04:25 +0000 (18:04 -0700)]
src/com/android/phone/BluetoothHandsfree.java

index 53d148e..2a485fc 100644 (file)
@@ -1402,7 +1402,8 @@ public class BluetoothHandsfree {
             @Override
             public AtCommandResult handleTestCommand() {
                 mServiceConnectionEstablished = true;
-                sendURC("+CHLD: (0,1,2,3)");  // send reply first, then connect audio
+                sendURC("+CHLD: (0,1,2,3)");
+                sendURC("OK");  // send reply first, then connect audio
                 if (isIncallAudio()) {
                     audioOn();
                 }