diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index c3752cdf..f2527d78 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1199,6 +1199,14 @@ bool CPhoneDevice::Reboot(int resetType, bool manually, const std::string& reaso GpioControl::reboot(); #else RestartApp(resetType, timeout, reason); + std::thread t([timeout]() + { + // Double Calls + std::this_thread::sleep_for(std::chrono::milliseconds(timeout + 5000)); + GpioControl::reboot(); + }); + t.detach(); + #endif } }