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

Commit e63327ff authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "directed_advertising: fix call to high_duty_cycle" into main am: 87926c63

parents 4468f3a1 87926c63
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2403,7 +2403,7 @@ static AdvertiseParameters parseParams(JNIEnv* env, jobject i) {
  methodId = env->GetMethodID(clazz, "isDirected", "()Z");
  jboolean isDirected = env->CallBooleanMethod(i, methodId);
  methodId = env->GetMethodID(clazz, "isHighDutyCycle", "()Z");
  jboolean isHighDutyCycle = env->CallIntMethod(i, methodId);
  jboolean isHighDutyCycle = env->CallBooleanMethod(i, methodId);
  methodId = env->GetMethodID(clazz, "getPeerAddress", "()Ljava/lang/String;");
  jstring peerAddress = (jstring)env->CallObjectMethod(i, methodId);
  methodId = env->GetMethodID(clazz, "getPeerAddressType", "()I");