diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index a2ff03c7..4d12cba8 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -777,7 +777,7 @@ bool CPhoneDevice::InstallAPP(const std::string& path, unsigned int delayedTime) bool CPhoneDevice::Reboot(int resetType) { - if (resetType == 1) + if (resetType == REBOOT_TYPE_DEVICE) { // reboot the device GpioControl::reboot();