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

Commit 40013ba0 authored by Chris Manton's avatar Chris Manton
Browse files

gd: Add module started query method

Bug: 182544206
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I7d2dedd4aaa20fd6811166c86d1b9931e6dda536
parent 6719d9d9
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;