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

Commit 328366b9 authored by Jorge E. Moreira's avatar Jorge E. Moreira Committed by android-build-merger
Browse files

Merge "test_vendor: Make tryStartThread return 0 on success" am: 807b9614

am: 69ec19f2

Change-Id: If36b548d7b58060d920caef2fea0d13f3fe3e596
parents 7ba4bb7b 69ec19f2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -415,9 +415,10 @@ class AsyncManager::AsyncTaskManager {
    thread_ = std::thread([this]() { ThreadRoutine(); });
    if (!thread_.joinable()) {
      LOG_ERROR(LOG_TAG, "%s: Unable to start task thread", __FUNCTION__);
    }
      return -1;
    }
    return 0;
  }

  void ThreadRoutine() {
    while (1) {