From a2f420aba9882ad95487e38709387c3ccb805d4f Mon Sep 17 00:00:00 2001 From: Matthew Date: Tue, 30 Apr 2024 23:31:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=BA=E5=8E=82=E7=BC=96=E5=8F=B7=E5=8D=B3?= =?UTF-8?q?=E5=BA=8F=E5=88=97=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/PhoneDevice.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index f4f2bac8..527745bb 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -369,7 +369,7 @@ bool CPhoneDevice::QuerySystemProperties(std::map& pro __system_property_get("ro.build.date.utc", value); it->second = value; } - else if (it->first == PROP_SN) + else if (it->first == PROP_SN || it->first == PROP_BS_ID) { __system_property_get("ro.serialno", value); it->second = value; @@ -383,10 +383,6 @@ bool CPhoneDevice::QuerySystemProperties(std::map& pro { it->second = QueryCpuTemperature(); } - else if (it->first == PROP_BS_ID) - { - it->second = "SHXY"; - } else if (it->first == PROP_FREE_ROM) { fs::space_info si = fs::space("/data");