From 828ba5817e761c868bc3431b5e60c6c347d04e7c Mon Sep 17 00:00:00 2001 From: SnickerSun Date: Fri, 15 Nov 2024 10:32:26 +0800 Subject: [PATCH] =?utf8?q?=20fileschecksum.txt=20check=5Fdifferential.txt?= =?utf8?q?=20=E9=83=BD=E7=BB=9F=E4=B8=80=E7=A7=BB=E5=8A=A8=E5=88=B0/user?= =?utf8?q?=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/safemodemanager/src/SafeModeManagerModel.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/safemodemanager/src/SafeModeManagerModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/safemodemanager/src/SafeModeManagerModel.cpp index 522ff9cfc..c2410dc56 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/safemodemanager/src/SafeModeManagerModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/safemodemanager/src/SafeModeManagerModel.cpp @@ -43,11 +43,9 @@ extern uint8_t battery_get_voltage(float *voltage); bool resfile_checksum_thread(void); } -#ifdef SINGLE_USER_PARTITION -static const char *CHECK_DIFFERENTIAL_FILE = "/user/system/check_differential.txt"; -#else -static const char *CHECK_DIFFERENTIAL_FILE = "/system/check_differential.txt"; -#endif + +static const char *CHECK_DIFFERENTIAL_FILE = "/user/check_differential.txt"; + void repair_file_start() { OHOS::SafeModeManagerModel::GetInstance()->RepairStart(); } -- 2.17.1