commit | 7123885bd9b3f1383f8e47796c7f13a8761b983c | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Tue Nov 29 17:42:53 2022 -0800 |
committer | Yu Shan <shanyu@google.com> | Tue Nov 29 17:44:19 2022 -0800 |
tree | 5ab8bbd86aeb487904e371b5570b4bfe7c5be48a | |
parent | 0a6be173b48bfe833c23bd65ef19056bea8e2fb3 [diff] |
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
diff --git a/automotive/remoteaccess/test_grpc_server/impl/include/TestWakeupClientServiceImpl.h b/automotive/remoteaccess/test_grpc_server/impl/include/TestWakeupClientServiceImpl.h index 12bd93b..6b86b35 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 @@ // A variable to notify server is stopping. std::condition_variable mServerStoppedCv; // Whether wakeup AP is required for executing tasks. - std::atomic<bool> mWakeupRequired = false; + std::atomic<bool> mWakeupRequired = true; std::mutex mLock; bool mServerStopped GUARDED_BY(mLock);