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

Commit fd39295e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix JNI for sendDtmfNative"

parents 197a9764 39a58909
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -697,8 +697,8 @@ static jboolean retrieveSubscriberInfoNative(JNIEnv* env, jobject object,
  return (status == BT_STATUS_SUCCESS) ? JNI_TRUE : JNI_FALSE;
}

static jboolean sendDtmfNative(JNIEnv* env, jobject object, jbyte code,
                               jbyteArray address) {
static jboolean sendDtmfNative(JNIEnv* env, jobject object, jbyteArray address,
                               jbyte code) {
  if (!sBluetoothHfpClientInterface) return JNI_FALSE;

  jbyte* addr = env->GetByteArrayElements(address, NULL);