2323#include < functional>
2424#include < mutex>
2525
26- #include < fruit/fruit.h>
26+ #include " fruit/fruit.h"
2727
2828#include " cuttlefish/common/libs/confui/utils.h"
2929#include " cuttlefish/host/libs/confui/host_utils.h"
@@ -62,10 +62,10 @@ class HostModeCtrl {
6262 */
6363 void WaitAndroidMode () {
6464 ConfUiLogDebug << cuttlefish::confui::thread::GetName ()
65- << " checking atomic Android mode" ;
65+ << " checking atomic Android mode" ;
6666 if (atomic_mode_ == ModeType::kAndroidMode ) {
6767 ConfUiLogDebug << cuttlefish::confui::thread::GetName ()
68- << " returns as it is already Android mode" ;
68+ << " returns as it is already Android mode" ;
6969 return ;
7070 }
7171 auto check = [this ]() -> bool {
@@ -74,24 +74,24 @@ class HostModeCtrl {
7474 std::unique_lock<std::mutex> lock (mode_mtx_);
7575 and_mode_cv_.wait (lock, check);
7676 ConfUiLogDebug << cuttlefish::confui::thread::GetName ()
77- << " awakes from cond var waiting for Android mode" ;
77+ << " awakes from cond var waiting for Android mode" ;
7878 }
7979
8080 void SetMode (const ModeType mode) {
8181 ConfUiLogDebug << cuttlefish::confui::thread::GetName ()
82- << " tries to acquire the lock in SetMode" ;
82+ << " tries to acquire the lock in SetMode" ;
8383 std::lock_guard<std::mutex> lock (mode_mtx_);
8484 ConfUiLogDebug << cuttlefish::confui::thread::GetName ()
85- << " acquired the lock in SetMode" ;
85+ << " acquired the lock in SetMode" ;
8686 atomic_mode_ = mode;
8787 if (atomic_mode_ == ModeType::kAndroidMode ) {
8888 ConfUiLogDebug << cuttlefish::confui::thread::GetName ()
89- << " signals kAndroidMode in SetMode" ;
89+ << " signals kAndroidMode in SetMode" ;
9090 and_mode_cv_.notify_all ();
9191 return ;
9292 }
9393 ConfUiLogDebug << cuttlefish::confui::thread::GetName ()
94- << " signals kConfUI_Mode in SetMode" ;
94+ << " signals kConfUI_Mode in SetMode" ;
9595 confui_mode_cv_.notify_all ();
9696 }
9797
0 commit comments