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

Commit d91b16df authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

gd: Add module started query method am: 40013ba0

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1682667

Change-Id: I26ff6e1cb4170d2bfd06edd09aaf05315ac76b34
parents e393bf1b 40013ba0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -32,6 +32,11 @@ class StackManager {
    return static_cast<T*>(registry_.Get(&T::Factory));
  }

  template <class T>
  bool IsStarted() const {
    return registry_.IsStarted(&T::Factory);
  }

 private:
  os::Thread* management_thread_ = nullptr;
  os::Handler* handler_ = nullptr;