Loading android/app/jni/com_android_bluetooth_hfp.cpp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -446,6 +446,7 @@ static void initializeNative(JNIEnv* env, jobject object, jint max_hf_clients, if (!sBluetoothHfpInterface) { if (!sBluetoothHfpInterface) { ALOGW("%s: Failed to get Bluetooth Handsfree Interface", __func__); ALOGW("%s: Failed to get Bluetooth Handsfree Interface", __func__); jniThrowIOException(env, EINVAL); jniThrowIOException(env, EINVAL); return; } } bt_status_t status = bt_status_t status = sBluetoothHfpInterface->Init(JniHeadsetCallbacks::GetInstance(), sBluetoothHfpInterface->Init(JniHeadsetCallbacks::GetInstance(), Loading Loading
android/app/jni/com_android_bluetooth_hfp.cpp +1 −0 Original line number Original line Diff line number Diff line Loading @@ -446,6 +446,7 @@ static void initializeNative(JNIEnv* env, jobject object, jint max_hf_clients, if (!sBluetoothHfpInterface) { if (!sBluetoothHfpInterface) { ALOGW("%s: Failed to get Bluetooth Handsfree Interface", __func__); ALOGW("%s: Failed to get Bluetooth Handsfree Interface", __func__); jniThrowIOException(env, EINVAL); jniThrowIOException(env, EINVAL); return; } } bt_status_t status = bt_status_t status = sBluetoothHfpInterface->Init(JniHeadsetCallbacks::GetInstance(), sBluetoothHfpInterface->Init(JniHeadsetCallbacks::GetInstance(), Loading