|
|
|
@ -716,7 +716,7 @@ bool CPhoneDevice::UpdateSchedules()
|
|
|
|
|
{
|
|
|
|
|
ALOGE("Failed to get JNI Env");
|
|
|
|
|
}
|
|
|
|
|
int64_t ts = time(NULL);
|
|
|
|
|
jlong ts = time(NULL);
|
|
|
|
|
ret = env->CallBooleanMethod(m_javaService, mUpdateCaptureScheduleMid, ts);
|
|
|
|
|
if (didAttachThread)
|
|
|
|
|
{
|
|
|
|
@ -1042,7 +1042,7 @@ void CPhoneDevice::RestartApp(int resetType, long timeout, const std::string& re
|
|
|
|
|
{
|
|
|
|
|
jreason = env->NewStringUTF(reason.c_str());
|
|
|
|
|
}
|
|
|
|
|
env->CallVoidMethod(m_javaService, mRebootMid, resetType, timeout, jreason);
|
|
|
|
|
env->CallVoidMethod(m_javaService, mRebootMid, resetType, (jlong)timeout, jreason);
|
|
|
|
|
if (didAttachThread)
|
|
|
|
|
{
|
|
|
|
|
m_vm->DetachCurrentThread();
|
|
|
|
|