From 68855276a1781cc1d7fbb636c035acd8dd21f62a Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Fri, 27 Mar 2020 13:57:53 -0700 Subject: [PATCH] init: fix StopSendingMessages() A typo made this function a no-op. Bug: 150863651 Test: CF responds to messages appropriately Change-Id: Iaae0264fae3f2b899ceb5ba0364a4773df1f7ca3 --- init/property_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/property_service.cpp b/init/property_service.cpp index 820652249..a5fea7cd6 100644 --- a/init/property_service.cpp +++ b/init/property_service.cpp @@ -125,7 +125,7 @@ void StartSendingMessages() { void StopSendingMessages() { auto lock = std::lock_guard{accept_messages_lock}; - accept_messages = true; + accept_messages = false; } bool CanReadProperty(const std::string& source_context, const std::string& name) {