From bed0f7ac7bf3fcc55d561201f6f329b07a865334 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 10 Jul 2024 15:15:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=AE=8F=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=B8=B8=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/PhoneDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();