OSDN Git Service

need send status code back(OK) after broadcast the intent(VENDOR_SPECIFIC_HEADSET_EVENT)
authorZhihai Xu <zhihaixu@google.com>
Sat, 1 Dec 2012 00:07:10 +0000 (16:07 -0800)
committerZhihai Xu <zhihaixu@google.com>
Sat, 1 Dec 2012 00:07:10 +0000 (16:07 -0800)
bug 7564004

Change-Id: I5fc1eed1c0db194c3fdd63799b2340eea994988d

src/com/android/bluetooth/hfp/HeadsetStateMachine.java

index 0b06e81..d9b2b7d 100755 (executable)
@@ -1722,6 +1722,7 @@ final class HeadsetStateMachine extends StateMachine {
                                                BluetoothHeadset.AT_CMD_TYPE_SET,
                                                args,
                                                mCurrentDevice);
+            atResponseCodeNative(HeadsetHalConstants.AT_RESPONSE_OK, 0);
         }
         else {
             Log.e(TAG, "processAtXevent: command type error");