修复bug

PtzNew
Matthew 3 months ago
parent d51ff00473
commit c07508a711

@ -1050,7 +1050,7 @@ bool CPhoneDevice::QuerySystemProperties(std::map<std::string, std::string>& pro
{ {
if (flowInfo.empty()) if (flowInfo.empty())
{ {
QueryFlowInfo(powerInfo); QueryFlowInfo(flowInfo);
} }
auto it2 = flowInfo.find(it->first); auto it2 = flowInfo.find(it->first);
if (it2 != flowInfo.cend()) if (it2 != flowInfo.cend())
@ -1110,7 +1110,7 @@ std::string CPhoneDevice::QueryCpuTemperature()
return ""; return "";
} }
void CPhoneDevice::QueryFlowInfo(std::map<std::string, std::string>&flowInfo) void CPhoneDevice::QueryFlowInfo(std::map<std::string, std::string>& flowInfo)
{ {
JNIEnv* env = NULL; JNIEnv* env = NULL;
jboolean ret = JNI_FALSE; jboolean ret = JNI_FALSE;

Loading…
Cancel
Save