summaryrefslogtreecommitdiffstats
path: root/jni/com_android_bluetooth_a2dp.cpp
diff options
context:
space:
mode:
authorGubbala Venugopal Rao <vgubba@codeaurora.org>2014-01-02 16:35:12 +0530
committerGubbala Venugopal Rao <vgubba@codeaurora.org>2014-01-06 14:22:25 +0530
commit819d65f446b73dff22bebd8379fc9a8138568757 (patch)
tree5991f62cc2d17c0048eb952a07360e6a718142cc /jni/com_android_bluetooth_a2dp.cpp
parent658eeb269cf1b18908e07640d455bf9d528f230b (diff)
downloadandroid_packages_apps_Bluetooth-819d65f446b73dff22bebd8379fc9a8138568757.tar.gz
android_packages_apps_Bluetooth-819d65f446b73dff22bebd8379fc9a8138568757.tar.bz2
android_packages_apps_Bluetooth-819d65f446b73dff22bebd8379fc9a8138568757.zip
Bluetooth: Send Focus Change update to Bluedroid
Changes done to update the Transient Audio Focus Lost, Gain to bluedroid. Change-Id: Id5253e2fea281633e80f569c9eca60fc26678b27 CRs-fixed: 590190
Diffstat (limited to 'jni/com_android_bluetooth_a2dp.cpp')
-rw-r--r--jni/com_android_bluetooth_a2dp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/jni/com_android_bluetooth_a2dp.cpp b/jni/com_android_bluetooth_a2dp.cpp
index 2cb705e02..76f90d6a4 100644
--- a/jni/com_android_bluetooth_a2dp.cpp
+++ b/jni/com_android_bluetooth_a2dp.cpp
@@ -295,13 +295,13 @@ static void allowConnectionNative(JNIEnv *env, jobject object, int is_valid) {
}
-static void informAudioFocusStateNative(JNIEnv *env, jobject object, int is_enable) {
+static void informAudioFocusStateNative(JNIEnv *env, jobject object, int state) {
if (!sBluetoothA2dpInterface) {
ALOGE("sBluetoothA2dpInterface is NULL ");
return;
}
- sBluetoothA2dpInterface->audio_focus_status(is_enable);
+ sBluetoothA2dpInterface->audio_focus_status(state);
}