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

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

Merge "Shim: Do own address read callback in JNI thread" am: 8b268fd8 am: 186351f4

parents fb34c996 186351f4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ class BleAdvertiserInterfaceImpl : public BleAdvertiserInterface,

  void GetOwnAddress(uint8_t advertiser_id, GetAddressCallback cb) override {
    LOG(INFO) << __func__ << " in shim layer";
    address_callbacks_[advertiser_id] = cb;
    address_callbacks_[advertiser_id] = jni_thread_wrapper(FROM_HERE, cb);
    bluetooth::shim::GetAdvertising()->GetOwnAddress(advertiser_id);
  }