From 677c7338e59dcab1bca7c4802b7ad7f0f662d05e Mon Sep 17 00:00:00 2001 From: BlueMatthew Date: Fri, 22 Mar 2024 14:50:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E8=B0=83=E7=94=A8?= 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 a4dc5f6d..c7f98e0d 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -539,7 +539,7 @@ bool CPhoneDevice::InstallAPP(const std::string& path, unsigned int delayedTime) } jstring jpath = env->NewStringUTF(path.c_str()); - env->CallVoidMethod(m_javaService, mInstallAppMid, jpath, (jlong)delayedTime); + env->CallBooleanMethod(m_javaService, mInstallAppMid, jpath, (jlong)delayedTime); // env->ReleaseStringUTFChars(jpath, path.c_str()); env->DeleteLocalRef(jpath); if (didAttachThread)