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

Commit 9b315153 authored by Chris Manton's avatar Chris Manton Committed by android-build-merger
Browse files

Merge "Signal id of zero is silently ignored per spec" am: 66f6fddc am: 2706db43

am: 0a7aeb74

Change-Id: Idebe57e8beb76db911ca3b106907010a233d3c50
parents 8d6b6711 0a7aeb74
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ class ClassicSignallingManager {
  PendingCommand last_sent_command_;
  std::queue<PendingCommand> pending_commands_;
  os::Alarm alarm_;
  SignalId next_signal_id_ = kInvalidSignalId;
  SignalId next_signal_id_ = kInitialSignalId;
};

}  // namespace internal
+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ struct SignalId {
};

constexpr SignalId kInvalidSignalId{0};
constexpr SignalId kInitialSignalId{1};

inline bool operator==(const SignalId& lhs, const SignalId& rhs) {
  return lhs.value_ == rhs.value_;