OSDN Git Service

Fix JNI for sendDtmfNative
authorJoseph Pirozzo <pirozzoj@google.com>
Thu, 20 Apr 2017 18:30:38 +0000 (11:30 -0700)
committerJoseph Pirozzo <pirozzoj@google.com>
Thu, 20 Apr 2017 22:51:03 +0000 (15:51 -0700)
commita40ba4da5f0a59c19c82972d98ed0b0947530c70
treee896ccb658529e4a855729680031019346e1a6b7
parenta6d4a7939896c36c0448b2bb058d2c8c0397aa95
Fix JNI for sendDtmfNative

sendDtmfNative had the parameters reversed in the static function
declaration causing DTMF (dial tones durring a call) to crash the BT
stack.

Bug: 36359320
Test: Make a phonecall via HFP and tap digits, observe no crash and
proper AT+VTS commands in btsnoop_hci.log.

Change-Id: Icf66a22886bfebd6aebcf1033f59d0562c57db2f
(cherry picked from commit 39a589093e26ed58d5aa54d8793c43394c60becc)
jni/com_android_bluetooth_hfpclient.cpp