Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f008420d authored by Satish Kodishala's avatar Satish Kodishala Committed by android-build-merger
Browse files

Merge "Return if sBluetoothHfpInterface pointer is NULL" am: c9d26b6a am: ef190314

am: 38558d76

Change-Id: I4f3e53a70e199820b827fc688031f59eab41ad2f
parents 1a317d6c 38558d76
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -446,6 +446,7 @@ static void initializeNative(JNIEnv* env, jobject object, jint max_hf_clients,
  if (!sBluetoothHfpInterface) {
    ALOGW("%s: Failed to get Bluetooth Handsfree Interface", __func__);
    jniThrowIOException(env, EINVAL);
    return;
  }
  bt_status_t status =
      sBluetoothHfpInterface->Init(JniHeadsetCallbacks::GetInstance(),