From 7123885bd9b3f1383f8e47796c7f13a8761b983c Mon Sep 17 00:00:00 2001 From: Yu Shan Date: Tue, 29 Nov 2022 17:42:53 -0800 Subject: [PATCH] Change default wakeup required to true. By default, TCU should always try to wake up AP until it receives wakeup not required from AP. Test: None Bug: 254547153 Change-Id: If4d1111aae1d13f121230360317615ea4ba0302f --- .../test_grpc_server/impl/include/TestWakeupClientServiceImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automotive/remoteaccess/test_grpc_server/impl/include/TestWakeupClientServiceImpl.h b/automotive/remoteaccess/test_grpc_server/impl/include/TestWakeupClientServiceImpl.h index 12bd93b34c..6b86b35933 100644 --- a/automotive/remoteaccess/test_grpc_server/impl/include/TestWakeupClientServiceImpl.h +++ b/automotive/remoteaccess/test_grpc_server/impl/include/TestWakeupClientServiceImpl.h @@ -119,7 +119,7 @@ class TestWakeupClientServiceImpl final : public WakeupClient::Service { // A variable to notify server is stopping. std::condition_variable mServerStoppedCv; // Whether wakeup AP is required for executing tasks. - std::atomic mWakeupRequired = false; + std::atomic mWakeupRequired = true; std::mutex mLock; bool mServerStopped GUARDED_BY(mLock);