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

Commit eb83dcba authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Nullptr check for VSyncClient::Wait"

parents a491a766 b4213f75
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -26,7 +26,10 @@ int VSyncClient::Wait(int64_t* timestamp_ns) {
          status.GetErrorMessage().c_str());
    return -status.error();
  }

  if (timestamp_ns != nullptr) {
    *timestamp_ns = status.get();
  }
  return 0;
}